Skip to main content

Response

Type Alias Response 

Source
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

Aliased Type§

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