Expand description
Header types
Structs§
- Header
Name - The name of a http header. This can be either a
KnownHeaderNameor a string representation of an unknown header. - Header
Value - A
HeaderValuerepresents the right hand side of a singlename: valuepair. - Header
Values - A header value is a collection of one or more
HeaderValue. It has been optimized for the “oneHeaderValue” case, but can accomodate more than one value. - Headers
- Trillium’s header map type
- Into
Iter - An owned iterator for Headers
- Iter
- A borrowed iterator for Headers
- Occupied
Entry - A view into an occupied entry in particular
Headersfor a givenHeaderName. - Vacant
Entry - A view into a vacant entry in particular
Headersfor a givenHeaderName.
Enums§
- Entry
- A view into the storage for a particular header name
- Known
Header Name - A short nonehaustive enum of headers that trillium can
represent as a u8. Use a
KnownHeaderNamevariant instead of a &’static str anywhere possible, as it allows trillium to skip parsing the header entirely.