alexapy.aiohttp.web_app

Classes

class alexapy.aiohttp.web_app.Application(*, logger: logging.Logger = <Logger aiohttp.web (WARNING)>, router: typing.Optional[alexapy.aiohttp.web_urldispatcher.UrlDispatcher] = None, middlewares: typing.Iterable[typing.Callable] = (), handler_args: typing.Optional[typing.Mapping[str, typing.Any]] = None, client_max_size: int = 1048576, loop: typing.Optional[asyncio.events.AbstractEventLoop] = None, debug: typing.Any = Ellipsis)

Inheritance

Inheritance diagram of Application

__call__() alexapy.aiohttp.web_app.Application

gunicorn compatibility

async cleanup() None

Causes on_cleanup signal

Should be called after shutdown()

async shutdown() None

Causes on_shutdown signal

Should be called before cleanup()

async startup() None

Causes on_startup signal

Should be called in the event loop along with the request handler.

Exceptions

exception alexapy.aiohttp.web_app.CleanupError

Inheritance

Inheritance diagram of CleanupError