Module connector

Module connector 

Source

StructsΒ§

CertificateErrorOverrideManager
This data structure is used to track certificate verification errors and overrides. It tracks:
CertificateErrorOverrideManagerInternal πŸ”’
CertificateVerificationOverrideVerifier πŸ”’
InstrumentedConnector
InstrumentedStream
ProxyConnector
A proxy connector. This will automatically open a proxy connection if the uri matches the proxy uri. Also respects β€˜no_proxy’.
ServoHttpConnector
TlsHandshakeInfo
TokioExecutor πŸ”’

EnumsΒ§

CACertificates
ConnectionError
The error type for the MaybeProxyConnector

ConstantsΒ§

ALPN_H2
ALPN identifier for HTTP/2 (RFC 7540 Β§3.1).
BUF_SIZE

StaticsΒ§

CRYPTO_PROVIDER_CACHE πŸ”’
RUSTLS_PLATFORM_VERIFIER_CACHE πŸ”’
A cache for the default rustls platform verifier.

FunctionsΒ§

create_http_client
create_tls_config
Create a TlsConfig to use for managing a HTTP connection. This currently creates a rustls ClientConfig.
prewarm_tls
Prewarm the TLS stack to speed up the first connection
protocol_version_to_string πŸ”’

Type AliasesΒ§

BoxError πŸ”’
BoxedBody
Connector
ServoClient
TlsConfig