new

Function new 

pub async fn new<C, O>(
    conn: C,
) -> Result<(Connection<C, Bytes>, SendRequest<O, Bytes>), ConnectionError>
where C: Connection<Bytes, OpenStreams = O>, O: OpenStreams<Bytes>,
Available on crate features quic and h3 only.
Expand description

Create a new HTTP/3 client with default settings