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 extractingT
is successful,None
otherwise.Result<T, T::Rejection>
:Ok(T)
if extractingT
is successful,Err(T::Rejection)
otherwise.
when T: FromParts
.
Modules§
- The
ConnectInfo
struct is included inhttp::Request
s whenIntoMakeServiceWithConnectInfo
is used.ConnectInfo
’sFromParts
implementation allows it to be extracted from thehttp::Request
. - Extension types.
- lambda
aws-lambda
The [lambda_http
] types included inhttp::Request
s whenLambdaHandler
is used. Each are given aFromParts
implementation for easy use within handlers. - request_id
request-id
Request IDs
Traits§
- Provides a protocol aware extraction from a
Request
. This borrows theParts
, in contrast toFromRequest
which consumes the entirehttp::Request
including the body.