pub type Request<T = Body> = Request<T>;Expand description
Type alias for http::Request whose body type defaults to Body, the most common body
type used with axum.
Aliased Type§
pub struct Request<T = Body> { /* private fields */ }Trait Implementations§
Source§impl IntoRequest for Request
Implementation of IntoRequest for axum::extract::Request.
impl IntoRequest for Request
Implementation of IntoRequest for axum::extract::Request.
This allows converting an axum::Request (from server-side extraction)
into a ClientRequest that can be sent as an HTTP request. The request’s
headers and body are transferred from the axum request to the client request.