Name Description Size
__init__.py 0
background_tasks.py Example of aiohttp.web.Application.on_startup signal handler 1818
cli_app.py Example of serving an Application using the `aiohttp.web` CLI. Serve this app using:: $ python -m aiohttp.web -H localhost -P 8080 --repeat 10 cli_app:init \ > "Hello World" Here ``--repeat`` & ``"Hello World"`` are application specific command-line arguments. `aiohttp.web` only parses & consumes the command-line arguments it needs (i.e. ``-H``, ``-P`` & ``entry-func``) and passes on any additional arguments to the `cli_app:init` function for processing. 1393
client_auth.py 551
client_json.py 489
client_ws.py websocket cmd client for wssrv.py example. 2154
curl.py 933
fake_server.py fakes -- dns -> port dict 3888
lowlevel_srv.py 550
server.crt 1103
server.csr 952
server.key 1675
server_simple.py 718
static_files.py 181
web_classview.py Example for aiohttp.web class based views. 1505
web_cookies.py Example for aiohttp.web basic server with cookies. 936
web_rewrite_headers_middleware.py Example for rewriting response headers by middleware. 687
web_srv.py Example for aiohttp.web basic server. 1384
web_srv_route_deco.py Example for aiohttp.web basic server with decorator definition for routes. 1359
web_srv_route_table.py Example for aiohttp.web basic server with table definition for routes. 1460
web_ws.py Example for aiohttp.web websocket server. 1417
websocket.html 2363