Skip to main content

Module extract

Module extract 

Source
Expand description

Extractors module for request data extraction (extended).

Structs§

Accept
Accept header marker.
AppState
Application state container.
Authorization
Authorization header marker.
ContentType
Content-Type header marker.
Header
Header extractor for individual HTTP headers.
HeaderValues
Multiple header values extractor.
Host
Host header marker.
Json
JSON body extractor.
JsonConfig
Configuration for JSON extraction.
NamedHeader
Named header extractor with explicit header name.
OAuth2BearerError
Error when OAuth2 bearer token extraction fails.
OAuth2PasswordBearer
OAuth2 password bearer security scheme extractor.
OAuth2PasswordBearerConfig
Configuration for OAuth2PasswordBearer extraction.
Path
Path parameter extractor.
PathParams
Extracted path parameters stored in request extensions.
Query
Query string extractor.
QueryParams
Stored query parameters for extraction.
State
State extractor for application-wide shared state.
UserAgent
User-Agent header marker.
XRequestId
X-Request-Id header marker.

Enums§

HeaderExtractError
Error returned when header extraction fails.
JsonExtractError
Error returned when JSON extraction fails.
OAuth2BearerErrorKind
The specific kind of OAuth2 bearer error.
PathExtractError
Error returned when path extraction fails.
QueryExtractError
Error type for query string extraction failures.
StateExtractError
Error returned when state extraction fails.

Traits§

FromHeaderValue
Trait for types that can be extracted from header values.
HeaderName
Trait for header name markers.