ytls-client 0.0.6

yolox sans-io TLS client context
Documentation
1
2
3
4
5
6
7
8
9
//! yTLS Client Config

/// Implement to provide configuration for the TLS Client Context
pub trait TlsClientCtxConfig {
    /// Implement to provide indicative host name (SNI)
    fn dns_host_name(&self) -> &[u8];
    // Implement to provide ALPN
    //fn alpn<'r>(&self) -> Alpn<'r>;
}