Expand description
Shared ServerTlsSource — builds a validated rustls::ServerConfig from
PEM cert/key files, optionally with mTLS client CA verification.
This deduplicates ~40 lines of PEM parsing that each of gRPC, HTTP, and WS
components implement separately. The individual components still own ALPN
configuration — build_server_config intentionally leaves ALPN empty so the
caller can set it after construction.
Structs§
- Server
TlsSource - File-based TLS source for rustls server-side configuration.
- TlsReload
Registry - Process-global singleton registry of TLS reload handlers.
Traits§
- TlsReload
Handler - Implemented by each TLS-terminating component.
Registered with
TlsReloadRegistry::global()when a server first spawns.