Skip to main content

build_backend

Function build_backend 

Source
pub(super) async fn build_backend(
    config: &ClientConfig,
    task_group: Arc<TaskGroup>,
) -> Result<ClientBackend>
Expand description

Build the HTTP backend: HTTP/3 if a QUIC config is set, else HTTP/2 if enabled, else HTTP/1.1.