Skip to main content

Module actix

Module actix 

Source
Expand description

Actix-web bridge.

Functionsยง

app
Builds the Actix app that forwards every request to kernel via dispatch::dispatch_async.
await_bound
Awaits a server from bind_server until it stops.
bind_server
Binds addr and returns the Actix actix_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 Request from an Actix request and body bytes.
listen
Binds addr and serves every request through kernel.
to_actix
Builds an Actix HttpResponse from a Serenade Response.