Skip to main content

Module alt_svc

Module alt_svc 

Available on crate features http and std only.
Expand description

Connection-local HTTP/2 alternative-service advertisements.

Structs§

AltSvcEvent
An advertisement received on this connection, never a relay instruction.
AltSvcObserverExtension
Opt in to ALTSVC observations before the HTTP/2 client handshake.
AltSvcReceivedAt
Receipt time of an HTTP/2 response carrying an Alt-Svc field.
AltSvcSender
Explicit server-side ALTSVC emission on one HTTP/2 connection.

Enums§

AltSvcOrigin
Origin established by the frame’s connection or request-stream association.
AltSvcSendError

Constants§

ALT_SVC_MAX_PAYLOAD
Maximum observed or queued advertisement payload, including its origin.
ALT_SVC_QUEUE_CAPACITY
Bound queued server advertisements independently of stream flow control.

Traits§

AltSvcObserver
Receive connection-local alternative-service observations directly.