浏览代码

Added http_error() to struct mg_callbacks

Sergey Lyubka 12 年之前
父节点
当前提交
cc4a4fb2ab
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      UserManual.md

+ 1 - 0
UserManual.md

@@ -335,6 +335,7 @@ To start the embedded web server, call `mg_start()`. To stop it, call
                                  const char *path, size_t *data_len);
                                  const char *path, size_t *data_len);
       void (*init_lua)(struct mg_connection *, void *lua_context);
       void (*init_lua)(struct mg_connection *, void *lua_context);
       void (*upload)(struct mg_connection *, const char *file_name);
       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)
 [hello.c](https://github.com/valenok/mongoose/blob/master/examples/hello.c)