Skip to main content

Module h2_connect

Module h2_connect 

Source

Structs§

H2ConnectionEntry
Metadata for a pooled H2 connection.
H2ConnectionPool
Bounded H2 connection pool with idle timeout and GOAWAY-aware retirement.
H2PoolGuard
A guard that releases an H2 connection back to the pool when dropped.
H2PoolKey
Pool key identifying a unique H2 upstream connection group.
H2PoolRegistry
Global H2 connection pool registry, keyed by (endpoint_host, endpoint_port, use_tls, server_name, auth_hash).
H2PoolStats
Pool statistics snapshot.
H2ProtocolMetrics
Atomic counters for H2 protocol-level metrics. The MetricsRegistry bridges these into Prometheus via set_h2_metrics() / render_prometheus().
H2StreamRead
H2StreamWrite

Enums§

H2ConnectError

Statics§

H2_POOL_REGISTRY
Global pool registry instance.
H2_PROTOCOL_METRICS
Global H2 protocol metrics instance.

Functions§

h2_connect_client
Perform an H2 CONNECT handshake as a client.
h2_connect_client_pooled
Perform an H2 CONNECT handshake using a pooled connection.
h2_connect_relay
Relay one established H2 CONNECT stream to target.