Lines Matching refs:callback
116 once it is sent successfully. The callback is called once that happens. */
118 http_server_tunnel_callback_t callback, void *context);
176 background. Calls the provided callback once the payload was forwarded
179 get a 413 error. Before the callback finishes, the application must either
183 void (*callback)(void *), void *context);
185 output, max_size, callback, context) \
187 (void(*)(void*))callback, context + \
188 CALLBACK_TYPECHECK(callback, void (*)(typeof(context))))
194 void (*callback)(void *), void *context);
196 buffer, max_size, callback, context) \
198 (void(*)(void*))callback, context + \
199 CALLBACK_TYPECHECK(callback, void (*)(typeof(context))))
200 /* Handle the incoming request payload by calling the callback each time
202 request payload is fully read. Before the final callback finishes, the
206 void (*callback)(void *context), void *context);
207 #define http_server_request_handle_payload(req, callback, context) \
209 (void(*)(void*))callback, context + \
210 CALLBACK_TYPECHECK(callback, void (*)(typeof(context))))
243 /* Call the specified callback when HTTP request is destroyed. This happens
255 void (*callback)(void *),
257 #define http_server_request_set_destroy_callback(req, callback, context) \
258 http_server_request_set_destroy_callback(req, (void(*)(void*))callback, context + \
259 CALLBACK_TYPECHECK(callback, void (*)(typeof(context))))
287 istream-callback to create a large response without temp files.
313 connection_destroy() callback. */