mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
http_error callback
Allow user to display status code errors
This commit is contained in:
1 parent
1cb094e059
commit
2efc5d9fce
2 files changed
+19
-15
No files matched your search
@@ -67,6 +67,7 @@ struct mg_callbacks {
|
||||
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);
|
||||
};
|
||||
|
||||
// Start web server.
|
||||
|
||||
Reference in new issue
Block a user