sess:request_finalize

March 26, 2020

Name

sess:request_finalize — Finalize changes to an HTTP request

Synopsis

require('msys.httpclnt')

sess:request_finalize(update);

update: boolean

Description

Finalize changes to an HTTP session. Call this function whenever the data in an http_session has been modified. Set update to 1 if you are updating existing data. If you are adding new session elements, set it to 0.

For a code example see http_request_eval. Use this function in the http_request_eval callout.

See Also

sess:request_set_body and sess:request_add_header