pub async fn listen<C>(
endpoint: &Endpoint,
config: ServerTlsConfig,
codec: C,
) -> Result<TlsListener<C>>
Expand description
Listens on the given TLS address and port.
pub async fn listen<C>(
endpoint: &Endpoint,
config: ServerTlsConfig,
codec: C,
) -> Result<TlsListener<C>>
Listens on the given TLS address and port.