httk.serve.web.runtime.asgi

Adapt a site engine to Starlette request and lifecycle handling.

Attributes

Functions

create_app(*, engine[, debug])

Create the Starlette application for a site engine.

Module Contents

httk.serve.web.runtime.asgi.MAX_POST_BODY_BYTES = 1000000[source]
httk.serve.web.runtime.asgi.MAX_TABLE_POST_BODY_BYTES = 64000[source]
httk.serve.web.runtime.asgi.create_app(*, engine, debug=False)[source]

Create the Starlette application for a site engine.

Parameters:
Returns:

Configured Starlette application.

Return type:

starlette.applications.Starlette