Expand description
Request identity, derived from headers.
Mirrors the parts of handleParseHeaders (middlewares.js:73-289) that the current routes
need. The order of checks is upstream’s and is load-bearing.
Modules§
- headers
- Header names. Case-insensitive on the wire;
http::HeaderMaphandles that.
Structs§
- Authority
- What authority a request carries, plus the two headers that are not credentials.
Enums§
- Credentials
- How a request authenticated.
- Header
Rejection - Why a request was refused before reaching a route.
- Peer
- Where a request came from, as far as the allowlist is concerned.
Functions§
- resolve
Deprecated - The 0.2.0 signature, kept so a patch release does not stop a downstream crate compiling.
- resolve_
with_ peer - Resolve authority from headers and the peer address.