Skip to main content

dispatch

Function dispatch 

Source
pub fn dispatch(
    kernel: &HttpKernel,
    request: &HttpRequest,
    body: impl AsRef<[u8]>,
) -> HttpResponse
Expand description

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