Updated README
This commit is contained in:
parent
17fc522b75
commit
5d8e7c761f
@ -190,6 +190,8 @@ The followings are built-in mappings:
|
|||||||
| webm | video/webm | zip | application/zip |
|
| webm | video/webm | zip | application/zip |
|
||||||
| mp3 | audio/mp3 | wasm | application/wasm |
|
| mp3 | audio/mp3 | wasm | application/wasm |
|
||||||
|
|
||||||
|
NOTE: These static file server methods are not thread-safe.
|
||||||
|
|
||||||
### File request handler
|
### File request handler
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
@ -199,8 +201,6 @@ svr.set_file_request_handler([](const Request &req, Response &res) {
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
NOTE: These static file server methods are not thread-safe.
|
|
||||||
|
|
||||||
### Logging
|
### Logging
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user