Expand description
WebTransport protocol primitives shared across webtrans transports.
Structs§
- Connect
Request - Decoded WebTransport CONNECT request metadata.
- Connect
Response - Decoded WebTransport CONNECT response metadata.
- Frame
- HTTP/3 frame type identifier.
- Setting
- HTTP/3 SETTINGS identifier.
- Settings
- Parsed HTTP/3 settings map keyed by
Setting. - UniStream
- Sent as the leading bytes on a unidirectional stream to indicate its stream type.
- VarInt
- An integer less than 2^62.
- VarInt
Bounds Exceeded - Error returned when constructing a
VarIntfrom a value >= 2^62. - VarInt
Unexpected End - Error returned when a varint decode reaches EOF before all bytes are available.
Enums§
- Capsule
- WebTransport HTTP/3 capsule payloads.
- Capsule
Error - Errors returned by capsule encoding and decoding.
- Connect
Error - Errors returned while encoding or decoding WebTransport CONNECT messages.
- Error
- Error categories that can occur when using WebTransport.
- Settings
Error - Errors returned while encoding or decoding SETTINGS exchanges.
Functions§
- error_
from_ http3 - Map an HTTP/3 application error code into WebTransport error space.
- error_
to_ http3 - Map a WebTransport application error code into the reserved HTTP/3 space.
Type Aliases§
- Result
- Convenience result type for WebTransport protocol and transport operations.