httk.serve.optimade.runtime.devserver¶
Development-server entry point for an OPTIMADE ASGI application.
Functions¶
|
Run an ASGI application with Uvicorn. |
Module Contents¶
- httk.serve.optimade.runtime.devserver.run_dev_server(*, app, host, port)[source]¶
Run an ASGI application with Uvicorn.
- Parameters:
app (httk.serve.http.ServeApp) – ASGI application to serve.
host (str) – Interface or hostname to bind.
port (int) – TCP port to bind.