Module server
Available on crate feature
boring only.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.
Modules§
- utils
- Server Utilities
Structs§
- Boring
Server Cert Issuer - Issue server certs on the fly. See
BoringServerConfigExt::with_cert_issuer. - Boring
TlsAcceptor Config - Gather all the TLS extensions supported by boring
- Dynamic
Issuer - Dynamic issuer which internally contains the dyn issuer
- Server
Cert Issuer Data - Configures on-the-fly server cert issuance + the cache used for issued certs.
- 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.
Enums§
- Boring
TlsAuth - Auth used by boring acceptor
- Cache
Kind - Cache kind that will be used to cache results of certificate issuers
- Server
Cert Issuer Kind - The way certs are issued on the fly by a
ServerCertIssuerData.
Traits§
- Boring
Server Config Ext - Boring specific tls setters.