Trait rustls::quic::ClientQuicExt [−][src]
pub trait ClientQuicExt { fn new_quic(
config: &Arc<ClientConfig>,
hostname: DNSNameRef<'_>,
params: Vec<u8>
) -> ClientSessionⓘ{ ... } }Notable traits for ClientSession
impl Read for ClientSessionimpl Write for ClientSession
This is supported on crate feature
quic
only.Methods specific to QUIC client sessions
Provided methods
fn new_quic(
config: &Arc<ClientConfig>,
hostname: DNSNameRef<'_>,
params: Vec<u8>
) -> ClientSessionⓘNotable traits for ClientSession
impl Read for ClientSessionimpl Write for ClientSession
[src]
config: &Arc<ClientConfig>,
hostname: DNSNameRef<'_>,
params: Vec<u8>
) -> ClientSessionⓘ
Notable traits for ClientSession
impl Read for ClientSessionimpl Write for ClientSession
Make a new QUIC ClientSession. This differs from ClientSession::new()
in that it takes an extra argument, params
, which contains the
TLS-encoded transport parameters to send.