Expand description
Header Filters
These filters are used to interact with the Request HTTP headers. Some
of them, like exact and exact_ignore_case, are just predicates,
they don’t extract any values. The header filter allows parsing
a type from any header.
Functions§
- exact
- Create a
Filterthat requires a header to match the value exactly. - exact_
ignore_ case - Create a
Filterthat requires a header to match the value exactly. - header
- Create a
Filterthat tries to parse the specified header. - header2 🔒
- headers_
cloned - Create a
Filterthat returns a clone of the request’sHeaderMap. - optional
- Create a
Filterthat tries to parse the specified header, if it exists. - optional2 🔒
- value
- Create a
Filterthat gets aHeaderValuefor the name.