Skip to main content

connect

Function connect 

Source
pub(super) async fn connect(
    endpoint: &Endpoint,
    quic_config: &ClientQuicConfig,
    task_group: Arc<TaskGroup>,
) -> Result<SendRequest<OpenStreams, Bytes>>
Expand description

Connect to an HTTP/3 server and return a request sender. A background task drives the connection until close.