Helper function to launch httpstan server.
Configure the server and schedule startup and shutdown tasks.
Module Contents
Functions
_warn_unfinished_operations (app: aiohttp.web.Application) → None
|
Warn if tasks (e.g., operations) are unfinished. |
make_app () → aiohttp.web.Application
|
Assemble aiohttp Application. |
Attributes
-
httpstan.app.EventLoopPolicy
-
httpstan.app.logger
-
async httpstan.app._warn_unfinished_operations(app: aiohttp.web.Application) → None[source]
Warn if tasks (e.g., operations) are unfinished.
Called immediately before tasks are cancelled.
-
httpstan.app.make_app() → aiohttp.web.Application[source]
Assemble aiohttp Application.
- Returns
assembled aiohttp application.
- Return type
aiohttp.web.Application