mongoose/docs/c-api/http_server.h/mg_http_send_error.md
Marko Mikulicic 900bbe724a Mongoose forwarding
PUBLISHED_FROM=51652f0157bb951a43508f0fe948c62c351e96ba
2016-10-26 14:52:10 +00:00

298 B

title decl_name symbol_kind signature
mg_http_send_error() mg_http_send_error func void mg_http_send_error(struct mg_connection *nc, int code, const char *reason);

Sends an error response. If reason is NULL, the message will be inferred from the error code (if supported).