INNER CODE UNIT · Python
_run_as_web_server
rio-labs/rio · rio/app.py:765
def _run_as_web_server(
self,
*,
host: str = "localhost",
port: int = 8000,
quiet: bool = False,
running_in_window: bool = False,
internal_on_app_start: t.Callable[[], None] | None = None,
internal_on_server_created: t.Callable[[uvicorn.Server], None]
| None = None,
base_url: rio.URL | str | None = None,
debug_mode: bool = False,
) -> None:
"""
Internal equivalent of `run_as_web_server` that takes additional
arguments.
"""