Skip to main content

app

Function app 

Source
pub fn app(
    kernel: Data<AsyncHttpKernel>,
) -> App<impl ServiceFactory<ServiceRequest, Config = (), Response = ServiceResponse<impl MessageBody>, Error = Error, InitError = ()>>
Expand description

Builds the Actix app that forwards every request to kernel via dispatch::dispatch_async.