Module aws_smithy_http_server::request
source · Expand description
Types and traits for extracting data from requests.
See Accessing Un-modelled data a comprehensive overview.
The following implementations exist:
- Tuples up to size 8, extracting each component.
Option<T>:Some(T)if extractingTis successful,Noneotherwise.Result<T, T::Rejection>:Ok(T)if extractingTis successful,Err(T::Rejection)otherwise.
when T: FromParts.
Modules
- The
ConnectInfostruct is included inhttp::Requests whenIntoMakeServiceWithConnectInfois used.ConnectInfo’sFromPartsimplementation allows it to be extracted from thehttp::Request. - Extension types.
- lambda
aws-lambdaThelambda_httptypes included inhttp::Requests whenLambdaHandleris used. Each are given aFromPartsimplementation for easy use within handlers. - request_id
request-idRequest IDs
Traits
- Provides a protocol aware extraction from a
Request. This borrows theParts, in contrast toFromRequestwhich consumes the entirehttp::Requestincluding the body.