axum::response

Type Alias Response

Source
pub type Response<T = UnsyncBoxBody<Bytes, Error>> = Response<T>;
Expand description

Type alias for http::Response whose body type defaults to BoxBody, the most common body type used with axum.

Aliased Typeยง

struct Response<T = UnsyncBoxBody<Bytes, Error>> { /* private fields */ }