Skip to main content

connect

Function connect 

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

Open the TCP connection and run the HTTP/2 handshake. The connection driver runs in task_group, so it stops with the client.