Expand description
Server-side connection builders for the HTTP2 protocol and the HTTP1 protocol.
Modules§
- auto
- HTTP connection builder with automatic protocol detection.
- http1
- HTTP/1 Server Connections
- http2
- HTTP/2 Server Connections
- tls
- Implementation of a server side TLS stream on top of tokio_rustls which additionally provides connection information after the handshake has been completed.
Structs§
- Accept
One - A future that resolves to a single connection
- Acceptor
- Accept incoming connections for streams which might
be wrapped in TLS. Use
Acceptor::with_tlsto enable TLS. - Acceptor
Core - A stream of incoming connections.
- Connection
With Info - Interior service which adds connection information to the request extensions.
- HTTP1
Connection - An HTTP/1 server connection which supports upgrades.
- Http1
Builder - An HTTP/1 Server connection builder that wraps the hyper-equivalent.
- Http2
Builder - An HTTP/2 connection builder which wraps the hyper equivalent.
- Http2
Connection - An HTTP/2 connection which wraps the hyper equivalent.
- Make
Service Connection Info Layer - A middleware which adds connection information to the request extensions.
- Make
Service Connection Info Service - A service which adds connection information to the request extensions.
- Stream
- Dispatching wrapper for potential stream connection types for servers
Enums§
- Connection
Error - Errors that can occur when handling connections.
Traits§
- Accept
- An async generator of new connections
- Accept
Ext - Extension trait for Accept
- Connection
- A connection that can be gracefully shutdown.