Function leptos_axum::generate_request_and_parts

source ยท
pub fn generate_request_and_parts(req: Request<Body>) -> (Request<Body>, Parts)
Expand description

Decomposes an HTTP request into its parts, allowing you to read its headers and other data without consuming the body. Creates a new Request from the original parts for further processing