Module headers

Source
Expand description

Parse typed headers from a response.

Parsing response headers is necessary for the Ratelimiter to properly function.

Structs§

Global
Ratelimit for all buckets encountered.
HeaderParsingError
Iterator of header name-value pairs failed to be parsed.
Present
Ratelimit for some bucket present.

Enums§

HeaderName
Typed name of a header.
HeaderParsingErrorType
Type of HeaderParsingError that occurred.
HeaderType
Expected type of a header value.
RatelimitHeaders
Parsed headers.
RatelimitScope
Scope of a ratelimit.