GNU libmicrohttpd 0.9.77
|
#include "internal.h"
Go to the source code of this file.
Functions | |
void | MHD_response_option_v10_only (struct MHD_Response *response) |
void | MHD_response_option_termination_callback (struct MHD_Response *response, MHD_RequestTerminationCallback termination_cb, void *termination_cb_cls) |
void MHD_response_option_termination_callback | ( | struct MHD_Response * | response, |
MHD_RequestTerminationCallback | termination_cb, | ||
void * | termination_cb_cls | ||
) |
Set a function to be called once MHD is finished with the request.
response | which response to set the callback for |
termination_cb | function to call |
termination_cb_cls | closure for termination_cb |
Definition at line 51 of file response_options.c.
References MHD_Response::termination_cb, and MHD_Response::termination_cb_cls.
void MHD_response_option_v10_only | ( | struct MHD_Response * | response | ) |
Only respond in conservative HTTP 1.0-mode. In particular, do not (automatically) sent "Connection" headers and always close the connection after generating the response.
request | the request for which we force HTTP 1.0 to be used |
Definition at line 36 of file response_options.c.
References MHD_Response::v10_only.