56ecb6a3ea
Allows for injection of the app object into the request object through the request handler. This allows for users to setup things like database connections etc. in listeners and then utilize them throughout the their various route handlers. Usage is fairly simple like so: ```python @app.get('/') async def handler(request): request.app.anything ``` Name is up in the air but I'll leave this up for a few days and I'll change it if we get a consensus |
||
---|---|---|
.. | ||
performance | ||
static | ||
test_bad_request.py | ||
test_blueprints.py | ||
test_config.py | ||
test_cookies.py | ||
test_create_task.py | ||
test_custom_protocol.py | ||
test_dynamic_routes.py | ||
test_exceptions_handler.py | ||
test_exceptions.py | ||
test_logging.py | ||
test_middleware.py | ||
test_multiprocessing.py | ||
test_payload_too_large.py | ||
test_redirect.py | ||
test_request_data.py | ||
test_request_timeout.py | ||
test_requests.py | ||
test_response.py | ||
test_routes.py | ||
test_server_events.py | ||
test_signal_handlers.py | ||
test_static.py | ||
test_url_building.py | ||
test_utf8.py | ||
test_vhosts.py | ||
test_views.py |