Skip to main content

router_daemon

Function router_daemon 

Source
pub fn router_daemon(
    state: AppState,
    auth: AuthConfig,
    max_payload_bytes: usize,
    rate_limiter: RateLimiter,
    playground: bool,
) -> Router
Expand description

Build the daemon HTTP router: explicit payload size limit, rate limiting, and the embedded playground UI when playground is set (openkindd --playground on).