Module salvo_core::conn
source · Expand description
Various listener implementations for handling HTTP connections.
These listeners include implementations for different TLS libraries such as rustls
, native-tls
, and openssl
.
The module also provides support for HTTP versions 1 and 2, as well as the QUIC protocol.
Additionally, it includes implementations for Unix domain sockets.
Re-exports§
pub use proto::HttpBuilder;
pub use acme::AcmeListener;
acme
pub use self::native_tls::NativeTlsListener;
native-tls
pub use rustls::RustlsListener;
rustls
pub use self::openssl::OpensslListener;
openssl
pub use self::quinn::QuinnListener;
quinn
pub use self::quinn::H3Connection;
quinn
pub use addr::SocketAddr;
pub use tcp::TcpListener;
pub use unix::UnixListener;
Unix
Modules§
- acme
acme
ACME supports. - Socket Address module.
- http1
http1
HTTP/1 Server Connections - http2
http2
HTTP/2 Server Connections - native_tls
native-tls
NativeTlsListener
and utils. - openssl
openssl
OpensslListener and utils. - quinn
quinn
QuinnListener
and utils. - rustls
rustls
RustlsListener
and utils. - TcpListener and it’s implements.
- unixUnixUnixListener module
Structs§
Acceptor
’s return type.- HandshakeStream
native-tls
orrustls
oropenssl
oracme
Tls stream. - Holding information.
JoinedListener
is a listener that can join two listeners.- A stream that can be fused.
Traits§
Acceptor
represents an acceptor that can accept incoming connections.- A type that can convert into tls config stream.
Listener
represents a listener that can bind to a specific address and port and return an acceptor.