Skip to main content

Module client

Module client 

Available on crate feature rustls only.
Expand description

TLS client support for Rama.

Structs§

AutoTlsStream
A stream which can be either a secure or a plain stream.
ConnectorKindAuto
A connector which can be used to establish a connection to a server in function of the input, meaning either it will be a secure connector or it will be a plain connector.
ConnectorKindSecure
A connector which can only be used to establish a secure connection, regardless of the scheme of the request URI.
ConnectorKindTunnel
A connector which can be used to use this connector to support secure tls tunnel connections.
ModifyRustlsClientConfig
Escape hatch: take over the final rustls ClientConfig build.
RustlsServerCertVerifier
A custom rustls server certificate verifier
RustlsTlsConnectorConfig
Gather all the TLS extensions supported by rustls
TlsConnector
A connector which can be used to establish a connection to a server.
TlsConnectorLayer
A Layer which wraps the given service with a TlsConnector.
TlsStream

Traits§

RustlsClientConfigExt
Rustls specific setters for TlsClientConfig.

Functions§

client_root_certs
The default client root certificate store used to verify servers.
self_signed_client_authaws-lc or ring