Skip to main content

Request

Type Alias Request 

Source
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

Aliased Type§

pub struct Request<T = IncomingBody<Request>> { /* private fields */ }