Skip to main content

Module client_hints

Module client_hints 

Available on crate feature http only.

Structs§

ClientHintParsingError
Client Hint Parsing Error
Downlink
Sec-CH-Downlink client hint: the approximate downstream speed of the user’s connection, in megabits per second (Mbps).
Rtt
Sec-CH-RTT client hint: the approximate round-trip time on the application layer, modelled as a Duration.
SaveData
Save-Data client hint: the user agent’s preference for reduced data usage.

Enums§

ClientHint
Ect
Sec-CH-ECT (Effective Connection Type) client hint.

Functions§

all_client_hint_header_name_strings
Returns an iterator over all client hint header name strings.
all_client_hint_header_names
Returns an iterator over all client hint header names.
all_client_hints
Returns an iterator over all client hints.