httk.serve.http.apptypes¶
Branded httk-serve app/callback types so API implementations avoid importing Starlette directly.
Attributes¶
The httk-serve serving application type (a Starlette app; branded so consumers need not import Starlette). |
|
A zero-argument coroutine callback run once, after the response has been sent. |
Module Contents¶
- type httk.serve.http.apptypes.ServeApp = Starlette¶
The httk-serve serving application type (a Starlette app; branded so consumers need not import Starlette).
Annotation-only: this is a type alias, not the
Starletteclass, so useStarletteitself forisinstance/subclass checks.