Skip to main content

http_router

Function http_router 

Source
pub fn http_router(state: ServerState) -> Result<Router, ServerError>
Expand description

Build the public HTTP application: workflow-management routes first, then the ops-console static asset fallback. The ops console adds no data API.

ยงErrors

Returns ServerError::Config when ops-console assets are misconfigured, or when the MCP surface is enabled and its published tool catalog cannot be constructed.