Skip to main content

Module client

Module client 

Source
Expand description

Host-driven fetch transport policy. DNS, environment, sockets and time are inputs. JS body conversions, promise dispatch and abort reason objects remain in Perry.

Structs§

ConnectionId
Http1Connection
A single non-pipelined HTTP/1 client connection. All byte buffers are reused. The host submits output, acknowledges completion, and supplies received bytes. Do not mutate the connection while a completion-layer write borrows output().
Lifecycle
Pool
PoolKey
ProxyEnvironment
Request
Route

Enums§

Acquire
Completion
Phase
Protocol
RedirectMode
TransportRequest
After a CONNECT 2xx upgrade, the host feeds remaining bytes into TLS.

Constants§

DEFAULT_MAX_REDIRECTS

Traits§

Resolver
Resolver implementations enqueue host operations; they must not block here.

Functions§

from_alpn
transport_error