Skip to main content

dispatch

Function dispatch 

Source
pub fn dispatch(
    kernel: &HttpKernel,
    parts: &Parts,
    body: impl AsRef<[u8]>,
) -> Response<Body>
Expand description

Converts the HTTP request, runs sync kernel, and returns an Axum response.