Module hyperdriver::server::conn
source · Available on crate feature
server only.Expand description
Server-side connection builders for the HTTP2 protocol and the HTTP1 protocol.
Modules§
- HTTP connection builder with automatic protocol detection.
- HTTP/1 Server Connections
- HTTP/2 Server Connections
- tls
tlsImplementation of a server side TLS stream on top of tokio_rustls which additionally provides connection information after the handshake has been completed.
Structs§
- A future that resolves to a single connection
- Accept incoming connections for streams which might be wrapped in TLS. Use
Acceptor::with_tlsto enable TLS. - Interior service which adds connection information to the request extensions.
- A middleware which adds connection information to the request extensions.
- A service which adds connection information to the request extensions.
- Dispatching wrapper for potential stream connection types for servers
Enums§
- Acceptor
Core streamA stream of incoming connections. - Errors that can occur when handling connections.
Traits§
- An async generator of new connections
- Extension trait for Accept
- A connection that can be gracefully shutdown.