Skip to main content

Module profile

Module profile 

Available on crate feature quic only.
Expand description

Typed, invariant-preserving QUIC wire profiles.

A QuicProfile describes the parts of a connection’s wire image that an implementation is free to choose: which versions it offers, how it lays out its transport parameters, how long its connection IDs are, how large and how many its Initial datagrams are, and how frames are arranged inside them. Every knob is checked when it is set, so a profile can reproduce another implementation’s first flight but never an invalid one; there is no raw byte hook.

QuicProfile::standard() supplies the standard descriptor. Browser-specific constructors in rama-quic are internal test fixtures, not a public profile catalogue. Applications construct a descriptor with the checked setters or use Rama’s UA selection and replay support. crate::capture reads a first flight for inspection; it does not automatically convert observed peer behaviour into a supported replay configuration.

Modules§

initial
Validated layouts for an original client Initial burst.

Structs§

ConnectionIdProfile
Connection ID lengths.
OpaqueParameter
A transport parameter this crate does not interpret, written as given.
PacketizationProfile
How packets and datagrams are formed.
QuicProfile
A complete wire profile; see the module documentation.
TransportLimits
The advertised flow-control and timing limits, as the transport parameters carry them.
TransportParameterProfile
How the transport parameters are laid out.

Enums§

GreaseParameter
The reserved parameter written to exercise the peer’s tolerance (RFC 9000 §18.1).
InitialFlightLayout
How the frames of a client’s Initial packets are arranged.
PacketNumberLength
How long packet numbers are encoded.
PaddingPlacement
Where the bytes that bring an Initial datagram up to size go.
ParameterOrder
The order transport parameters are written in.
ParameterOrderEntry
One position in a fixed transport-parameter emission order. The GREASE marker is profile policy, never a wire identifier.
ProfileError
A value this profile cannot hold.