Expand description
Experimental extractors.
Structs§
- Body
Limit - Extractor wrapper that limits size of payload used.
- Bytes
- Bytes extractor with const-generic payload size limit.
- Host
- Host information.
- Json
- JSON extractor with const-generic payload size limit.
- Lazy
Data - A lazy extractor for thread-local data.
- Local
Data - A thread-local equivalent to
SharedData
. - Path
- Extract typed data from request path segments.
- Query
- Extract typed information from the request’s query.
- Reconstructed
Path - Reconstructed path using x-forwarded-prefix header.
- Request
Signature - Wraps an extractor and calculates a request signature hash alongside.
- Swap
Data - A wrapper around
ArcSwap
that can be used as an extractor. - UrlEncoded
Form - URL-encoded form extractor with const-generic payload size limit.
Enums§
- Request
Signature Error - Errors that can occur when extracting and processing request signatures.
Constants§
- DEFAULT_
BODY_ LIMIT - Default body size limit of 2MiB.
- DEFAULT_
BYTES_ LIMIT - Default bytes payload size limit of 4MiB.
- DEFAULT_
JSON_ LIMIT - Default JSON payload size limit of 2MiB.
- DEFAULT_
URL_ ENCODED_ FORM_ LIMIT - Default URL-encoded form payload size limit of 2MiB.
Traits§
- Request
Signature Scheme - Define a scheme for deriving and verifying some kind of signature from request parts.
Type Aliases§
- Shared
Data - An alias for
actix_web::web::Data<T>
with a more descriptive name.