Module server
Expand description
Boring(ssl) server support for Rama.
This module provides a TlsAcceptorLayer to accept TLS connections and a TlsAcceptorService to handle them.
§Examples
See the Examples Directory:
- /examples/tls_boring_termination.rs: Spawns a mini handmade http server, as well as a TLS termination proxy, forwarding the plain text stream to the first.
Structs§
- TlsAcceptor
Data - Internal data used as configuration/input for the
super::TlsAcceptorService. - TlsAcceptor
Layer - A
Layerwhich wraps the given service with aTlsAcceptorService. - TlsAcceptor
Service - A
Servicewhich accepts TLS connections and delegates the underlying transport stream to the given service. - TlsStream