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