Trait holochain::prelude::dependencies::kitsune_p2p_types::dependencies::rustls::quic::ServerQuicExt
pub trait ServerQuicExt {
// Provided method
fn new_quic(
config: Arc<ServerConfig, Global>,
quic_version: Version,
params: Vec<u8, Global>
) -> Result<ServerConnection, Error> { ... }
}
Expand description
Methods specific to QUIC server sessions
Provided Methods§
fn new_quic(
config: Arc<ServerConfig, Global>,
quic_version: Version,
params: Vec<u8, Global>
) -> Result<ServerConnection, Error>
fn new_quic( config: Arc<ServerConfig, Global>, quic_version: Version, params: Vec<u8, Global> ) -> Result<ServerConnection, Error>
Make a new QUIC ServerConnection. This differs from ServerConnection::new()
in that it takes an extra argument, params
, which contains the
TLS-encoded transport parameters to send.