httk.serve.web.runtime.devserver

Run a development ASGI server for a site application.

Functions

run_dev_server(*, app, host, port)

Run an application with the configured development server.

Module Contents

httk.serve.web.runtime.devserver.run_dev_server(*, app, host, port)[source]

Run an application with the configured development server.

Parameters:
  • app (httk.serve.http.ServeApp) – ASGI application to serve.

  • host (str) – Interface on which to listen.

  • port (int) – TCP port on which to listen.