Skip to main content

from_parts

Function from_parts 

Source
pub(super) async fn from_parts(
    services: &Services,
    parts: Parts,
    body: Body,
    path: Path<SmallVec<[SmallString<[u8; 32]>; 8]>>,
) -> Result<Request>
Expand description

Builds a request from its parts and the path parameters its route matched.

A request no route matched passes no parameters.