pub type Request<T = IncomingBody<Request>> = Request<T>;Available on crate feature
wasip3-unstable only.Expand description
A type alias for an HTTP request with a customizable body type.
This is a convenience wrapper around http::Request, parameterized
by the body type T. By default, it uses IncomingRequestBody,
which represents the standard incoming body used by this runtime.
§See also
IncomingRequestBody: The body type for inbound HTTP requests.http::Request: The standard HTTP request type from thehttpcrate.
Aliased Type§
pub struct Request<T = IncomingBody<Request>> { /* private fields */ }