mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 22:49:21 +02:00
refactor server impl and add support for alpn http2 negotiation
This commit is contained in:
19
README.md
19
README.md
@ -13,14 +13,25 @@ Actix web is licensed under the [Apache-2.0 license](http://opensource.org/licen
|
||||
|
||||
## Features
|
||||
|
||||
* HTTP/1 and HTTP/2 support
|
||||
* Streaming and pipelining support
|
||||
* Keep-alive and slow requests support
|
||||
* [WebSockets support](https://actix.github.io/actix-web/actix_web/ws/index.html)
|
||||
* HTTP/1 and HTTP/2
|
||||
* Streaming and pipelining
|
||||
* Keep-alive and slow requests handling
|
||||
* [WebSockets](https://actix.github.io/actix-web/actix_web/ws/index.html)
|
||||
* Configurable request routing
|
||||
* Multipart streams
|
||||
* Middlewares
|
||||
|
||||
## HTTP/2 Negotiation
|
||||
|
||||
To use http/2 protocol over tls without prior knowlage requires
|
||||
[tls alpn]( (https://tools.ietf.org/html/rfc7301). At the moment only
|
||||
rust-openssl supports alpn.
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
actix-web = { git = "https://github.com/actix/actix-web", features=["alpn"] }
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
To use `actix-web`, add this to your `Cargo.toml`:
|
||||
|
Reference in New Issue
Block a user