mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
Added http_error() to struct mg_callbacks
This commit is contained in:
parent
3d211d89c5
commit
cc4a4fb2ab
@ -335,6 +335,7 @@ To start the embedded web server, call `mg_start()`. To stop it, call
|
||||
const char *path, size_t *data_len);
|
||||
void (*init_lua)(struct mg_connection *, void *lua_context);
|
||||
void (*upload)(struct mg_connection *, const char *file_name);
|
||||
int (*http_error)(struct mg_connection *, int status);
|
||||
};
|
||||
|
||||
[hello.c](https://github.com/valenok/mongoose/blob/master/examples/hello.c)
|
||||
|
Loading…
x
Reference in New Issue
Block a user