mirror of
https://github.com/actix/actix-website
synced 2024-11-23 16:31:08 +01:00
Merge pull request #33 from Gowee/master
Fix two typos in Basics/{Server, Extractors}.
This commit is contained in:
commit
6481cd2d27
@ -184,7 +184,7 @@ When you register a handler using `Route::with()`, it returns a configuration in
|
||||
a *Json* extractor it returns a *JsonConfig*. You can configure the maximum size of the json
|
||||
payload as well as a custom error handler function.
|
||||
|
||||
The following example limits the size of the payload to 4kb and uses a custom error hander.
|
||||
The following example limits the size of the payload to 4kb and uses a custom error handler.
|
||||
|
||||
```rust
|
||||
#[macro_use] extern crate serde_derive;
|
||||
|
@ -15,7 +15,7 @@ application factory must have `Send` + `Sync` boundaries. More about that in the
|
||||
|
||||
To bind to a specific socket address,
|
||||
[`bind()`](../../actix-web/actix_web/server/struct.HttpServer.html#method.bind)
|
||||
must be used, and it may be called multiple times. To bind ssl socket
|
||||
must be used, and it may be called multiple times. To bind ssl socket,
|
||||
[`bind_ssl()`](../../actix-web/actix_web/server/struct.HttpServer.html#method.bind_ssl)
|
||||
or [`bind_tls()`](../../actix-web/actix_web/server/struct.HttpServer.html#method.bind_tls)
|
||||
should be used. To start the http server, one of the start methods.
|
||||
|
Loading…
Reference in New Issue
Block a user