Expand description
Actix-web bridge.
Functionsยง
- app
- Builds the Actix app that forwards every request to
kernelviadispatch::dispatch_async. - await_
bound - Awaits a server from
bind_serveruntil it stops. - bind_
server - Binds
addrand returns the Actixactix_web::dev::Server(does not await). - conversion_
error - Maps conversion failure through
DefaultExceptionHandler. - dispatch
- Converts the Actix request, runs sync
kernel, and returns an Actix response. - dispatch_
async - Converts the Actix request, awaits async
kernel, and returns an Actix response. - from_
actix - Builds a Serenade
Requestfrom an Actix request and body bytes. - listen
- Binds
addrand serves every request throughkernel. - to_
actix - Builds an Actix
HttpResponsefrom a SerenadeResponse.