Expand description
Axum HTTP/WebSocket server for the worker process.
Supports optional bearer token authentication on WebSocket connections.
Set a token via worker_router_authenticated or the --token CLI flag.
Functionsยง
- serve_
worker - Start a worker server on the given address.
- serve_
worker_ authenticated - Start a worker server with authentication.
- worker_
router - Build a worker server router (no authentication).
- worker_
router_ authenticated - Build a worker server router with authentication.
- worker_
router_ with_ dirs - Build a worker server router with custom directories.