Skip to main content

Module client_metadata

Module client_metadata 

Source
Expand description

Generic client-metadata carried to the Tycho server in a dedicated header.

This is the single source of truth for the header name and serialization so the RPC and WebSocket paths can never drift. The map is deliberately untyped: tycho-client never learns what the keys mean — consumers supply their own vocabulary.

Constants§

CLIENT_METADATA_HEADER
Header name carrying serialized client metadata. Lowercase so it can be used with HeaderName::from_static.
MAX_ENTRIES
Maximum number of entries a client may send.
MAX_HEADER_BYTES
Maximum serialized header length in bytes.
MAX_KEY_BYTES
Maximum key length in bytes.
MAX_VALUE_BYTES
Maximum value length in bytes.