Expand description
HTTP client backend: HTTP/1.1 (smol, or pooled on tokio), opt-in HTTP/2 over plain TCP, and HTTP/3 (QUIC).
Modulesยง
- h1 ๐
- HTTP/1.1 client.
- h2 ๐
- HTTP/2 client over plain TCP (h2c with prior knowledge).
- h3 ๐
- HTTP/3 client over QUIC via h3 / h3-quinn.
Structsยง
- Http
Client ๐Backend - HTTP client backend for JSON-RPC.
- Http
Config - HTTP settings for
http://endpoints, set withClientBuilder::http_config.
Enumsยง
- Http
Transport ๐
Functionsยง
- build_
backend ๐ - Build the HTTP backend: HTTP/3 if a QUIC config is set, else HTTP/2 if enabled, else HTTP/1.1.
- http_
client_ ๐backend - parse_
response ๐ - Shared HTTP response parser (used by h1 and h2).