karyon_net::transports::tls

Function listen

Source
pub async fn listen<C>(
    endpoint: &Endpoint,
    config: ServerTlsConfig,
    codec: C,
) -> Result<TlsListener<C>>
where C: Clone + Codec,
Expand description

Listens on the given TLS address and port.