Next: , Previous: , Up: microhttpd-responses   [Contents][Index]

8.4 Setting response options

Function: int MHD_set_response_options (struct MHD_Response *response, enum MHD_ResponseFlags flags, ...)

Set special flags and options for a response.

Calling this functions sets the given flags and options for the response.


which response should be modified;


flags to set for the response;

Additional arguments are a list of options (type-value pairs, terminated with MHD_RO_END). It is mandatory to use MHD_RO_END as last argument, even when there are no additional arguments.

Return MHD_NO on error, MHD_YES on success.