Skip to main content

worker_router_authenticated

Function worker_router_authenticated 

Source
pub fn worker_router_authenticated(
    worker: Worker,
    env_dir: impl Into<PathBuf>,
    work_dir: impl Into<PathBuf>,
    token: impl Into<String>,
) -> Router
Expand description

Build a worker server router with authentication.