Skip to main content

Module server

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:

Modules§

utils
Server Utilities

Structs§

BoringServerCertIssuer
Issue server certs on the fly. See BoringServerConfigExt::with_cert_issuer.
BoringTlsAcceptorConfig
Gather all the TLS extensions supported by boring
DynamicIssuer
Dynamic issuer which internally contains the dyn issuer
ServerCertIssuerData
Configures on-the-fly server cert issuance + the cache used for issued certs.
TlsAcceptorData
Internal data used as configuration/input for the super::TlsAcceptorService.
TlsAcceptorLayer
A Layer which wraps the given service with a TlsAcceptorService.
TlsAcceptorService
A Service which accepts TLS connections and delegates the underlying transport stream to the given service.

Enums§

BoringTlsAuth
Auth used by boring acceptor
CacheKind
Cache kind that will be used to cache results of certificate issuers
ServerCertIssuerKind
The way certs are issued on the fly by a ServerCertIssuerData.

Traits§

BoringServerConfigExt
Boring specific tls setters.