[][src]Module websocket::header::parsing

Utility functions for Header implementations.

Structs

ExtendedValue

An extended header parameter value (i.e., tagged with a character set and optionally, a language), as defined in RFC 5987.

HTTP_VALUE

This encode set is used for HTTP header values and is defined at https://tools.ietf.org/html/rfc5987#section-3.2

Functions

fmt_comma_delimited

Format an array into a comma-delimited string.

from_comma_delimited

Reads a comma-delimited raw header into a Vec.

from_one_raw_str

Reads a single raw string when parsing a header.

from_raw_str

Reads a raw string into a value.

parse_extended_value

Parses extended header parameter values (ext-value), as defined in RFC 5987.