1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-01 01:16:59 +02:00

update guide examples

This commit is contained in:
Nikolay Kim
2017-12-19 18:44:17 -08:00
parent d0c01c2cdd
commit c47e2ccfee
2 changed files with 6 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ fn main() {
HttpServer::<TcpStream, SocketAddr, _, _>::new(
|| Application::new()
.resource("/", |r| r.f(|_| httpcodes::HTTPOk)))
.threads(4); // <- Start 4 threads
.threads(4); // <- Start 4 workers
}
```
@@ -88,7 +88,7 @@ Note on *HTTP/2.0* protocol over tls without prior knowledge, it requires
`openssl` has `alpn ` support.
Please check [example](https://github.com/actix/actix-web/tree/master/examples/tls)
for concrete example.
for full example.
## Keep-Alive