webstation-broker
DeveloperPython reference

main

Command-line entry point that serves the broker with uvicorn.

Command-line entry point that serves the broker with uvicorn.

attributelog
= logging.getLogger(__name__)
funcrun() -> None

Serve the application factory with uvicorn on the configured host and port.

Refuses to start when BROKER_SECRET is unset and dev mode is not explicitly enabled, since every session-lifecycle endpoint would otherwise be reachable with no auth. Uvicorn's own logging configuration is switched off so the format set up in webstation_broker.app is the one that applies.

Returns

None