Skip to main content

Module h2

Module h2 

Source
Expand description

HTTP/2 client over plain TCP (h2c with prior knowledge).

One connection is opened when the client is built and shared by all requests as HTTP/2 streams. Opt in with HttpConfig::http2.

Functionsยง

connect ๐Ÿ”’
Open the TCP connection and run the HTTP/2 handshake. The connection driver runs in task_group, so it stops with the client.
driver_task ๐Ÿ”’
send ๐Ÿ”’

Type Aliasesยง

H2SendRequest ๐Ÿ”’