MCPcopy Create free account

hub / github.com/aio-libs/aiohttp / functions

Functions5,960 in github.com/aio-libs/aiohttp

Functioninner
(app: web.Application)
tests/test_web_app.py:410
Methodinner
(handler: _HandlerType)
aiohttp/web_routedef.py:174
Functionintro
(request)
examples/web_srv_route_deco.py:12
Functionintro
(request)
examples/web_srv_route_table.py:9
Functionintro
(request)
examples/web_srv.py:9
Methodis_closing
Swallow is_closing.
tests/test_benchmarks_client_request.py:137
Methodis_closing
Swallow is_closing.
tests/test_benchmarks_http_websocket.py:117
Methodis_eof
(self)
aiohttp/streams.py:623
Methodis_eof
(self)
aiohttp/_websocket/reader_py.py:94
Methodis_multipart
(self)
aiohttp/formdata.py:44
Methodjson
Return parsed JSON data. .. versionadded:: 0.22
aiohttp/_websocket/models.py:57
Methodjson
Return parsed JSON data.
aiohttp/_websocket/models.py:75
Functionjson_bytes_response
Create a JSON response using a bytes-returning encoder. Use this when your JSON encoder (like orjson) returns bytes instead of str, avoiding
aiohttp/web_response.py:886
Methodjson_serialize
Json serializer callable
aiohttp/client.py:1663
Methodkeep_alive
Set keep-alive connection mode. :param bool val: new state.
aiohttp/web_protocol.py:506
Methodkeep_alive
(self)
aiohttp/web_response.py:168
Methodkeepalive_timeout
(self)
aiohttp/web_protocol.py:304
Functionkey
()
tests/test_connector.py:48
Functionkey
()
tests/test_client_connection.py:10
Functionkey
(key_data: Any)
tests/conftest.py:384
Functionkey2
()
tests/test_connector.py:54
Functionkey_data
()
tests/conftest.py:379
Methodlast_modified
The value of Last-Modified HTTP header, or None. This header is represented as a `datetime` object.
aiohttp/web_response.py:356
Methodlimit
The total number for simultaneous connections. If limit is 0 the connector has no limit. The default limit size is 100.
aiohttp/connector.py:409
Methodlimit_per_host
The limit for simultaneous connections to the same endpoint. Endpoints are the same if they are have equal (host, port, is_ssl) tripl
aiohttp/connector.py:418
Methodlink
(self)
aiohttp/web_exceptions.py:393
Methodlinks
(self)
aiohttp/client_reqrep.py:700
Methodlog
Emit log to logger.
aiohttp/abc.py:285
Methodlog
(self, request, response, time)
tests/test_web_app.py:125
Functionlog_api_handler
Handle log API requests.
tests/test_client_middleware.py:932
Functionlog_middleware
Log requests to external API, avoiding recursion with path check.
tests/test_client_middleware.py:952
Functionlogin
(request: web.Request)
examples/web_cookies.py:25
Functionlogout
(request: web.Request)
examples/web_cookies.py:31
Methodlong_poll
()
tests/test_run_app.py:1044
Functionloop
Return an instance of the event loop.
aiohttp/pytest_plugin.py:256
Functionloop
()
tests/test_client_connection.py:15
Functionloop
()
tests/test_test_utils.py:68
Methodloop
Session's loop.
aiohttp/client.py:1635
Methodloop
(self)
aiohttp/web_request.py:341
Methodloop
(self)
aiohttp/connector.py:172
Methodloop
(self)
aiohttp/web_app.py:257
Functionloop_debug
--enable-loop-debug config option
aiohttp/pytest_plugin.py:145
Functionloop_debug_mode
Enable asyncio debug mode for the duration of the test. Disables debug before teardown so PyPy 3.11's recursive ``Task.__repr__``, triggered
tests/conftest.py:169
Functionloop_with_mocked_native_sendfile
(loop: Any)
tests/test_web_sendfile_functional.py:62
Functionmain_handler
(request: web.Request)
tests/test_web_app.py:648
Functionmain_handler
Handle main server requests.
tests/test_client_middleware.py:938
Functionmainapp_handler
(request: web.Request)
tests/test_web_urldispatcher.py:1015
Methodmake_conn
()
tests/test_proxy.py:62
Methodmake_jar
()
tests/test_cookiejar.py:486
Methodmake_jar
()
tests/test_cookiejar.py:549
Methodmake_url
(self, path: StrOrURL)
aiohttp/test_utils.py:158
Functionmaker
(method, url, *args, **kwargs)
tests/test_client_request.py:53
Functionmaker
(method, path, headers=None, protocols=False)
tests/test_web_websocket.py:49
Functionmaker
(*args, **kwargs)
tests/test_client_session.py:51
Functionmaker
(*args, **kwargs)
tests/test_web_sendfile_functional.py:76
Methodmatch
Return bool if the request satisfies the criteria
aiohttp/web_urldispatcher.py:786
Methodmatch_info
Result of route resolving.
aiohttp/web_request.py:1000
Methodmessage
(self)
aiohttp/web_request.py:332
Methodmethod
Read only property for getting HTTP method. The value is upper-cased str like 'GET', 'POST', 'PUT' etc.
aiohttp/web_request.py:470
Methodmethod
(self)
aiohttp/web_urldispatcher.py:214
Functionmiddleware
(request, handler: Handler)
tests/test_web_middleware.py:17
Functionmiddleware
(request: web.Request, handler: Handler)
tests/test_web_app.py:366
Functionmiddleware
(request)
tests/test_web_functional.py:1515
Functionmiddleware
(request, handler: Handler)
tests/test_web_log.py:295
Functionmiddleware
(request, handler)
tests/test_web_exceptions.py:244
Functionmiddleware
(request: web.Request, handler: Handler)
examples/web_rewrite_headers_middleware.py:13
Methodmiddleware
(request)
tests/test_web_middleware.py:444
Functionmiddleware1
( request: ClientRequest, handler: ClientHandlerType )
tests/test_client_middleware.py:154
Functionmiddleware2
( request: ClientRequest, handler: ClientHandlerType )
tests/test_client_middleware.py:162
Functionmiddleware_factory
(app, handler: Handler)
tests/test_web_middleware.py:401
Functionmiddleware_factory
(app, handler: Handler)
tests/test_web_functional.py:1514
Methodmiddlewares
(self)
aiohttp/web_app.py:409
Functionmock_coro
(*args: Any, **kwargs: Any)
aiohttp/test_utils.py:809
Functionmock_get
(*args, **kwargs)
tests/test_client_ws.py:301
Functionmock_is_dir
(self: pathlib.Path, **kwargs: Any)
tests/test_web_urldispatcher.py:458
Functionmock_is_file
(self)
tests/test_proxy_functional.py:738
Functionmock_iterdir
(self: pathlib.Path)
tests/test_web_urldispatcher.py:453
Functionmock_md5_digest
Mock MD5 to return a predictable value for testing.
tests/test_client_middleware_digest_auth.py:83
Functionmock_open
(self: pathlib.Path, *args: Any, **kwargs: Any)
tests/test_web_urldispatcher.py:508
Functionmock_read
(size: int | None = None)
tests/test_payload.py:330
Functionmock_sha1_digest
Mock SHA1 to return a predictable value for testing.
tests/test_client_middleware_digest_auth.py:74
Functionmock_stat
(path: Any, **kwargs: Any)
tests/test_web_urldispatcher.py:611
Functionmock_strict_morsel
( monkeypatch: pytest.MonkeyPatch, )
tests/test_cookie_helpers.py:2001
Functionmulti_step_auth_middleware
( request: ClientRequest, handler: ClientHandlerType )
tests/test_client_middleware.py:319
Methodname
(self)
aiohttp/web_runner.py:69
Methodname
(self)
aiohttp/web_runner.py:128
Methodname
(self)
aiohttp/web_runner.py:174
Methodname
(self)
aiohttp/web_runner.py:208
Methodname
(self)
aiohttp/web_runner.py:250
Methodname
(self)
aiohttp/compression_utils.py:116
Methodname
(self)
aiohttp/web_urldispatcher.py:115
Methodname
Optional route's name, always equals to resource's name.
aiohttp/web_urldispatcher.py:223
Methodname
(self)
aiohttp/web_urldispatcher.py:911
Methodname
(self)
aiohttp/web_urldispatcher.py:935
Methodname
Returns name specified in Content-Disposition header. If the header is missing or malformed, returns None.
aiohttp/multipart.py:639
Functionnetrc_contents
Prepare :file:`.netrc` with given contents. Monkey-patches :envvar:`NETRC` to point to created file.
tests/conftest.py:301
Functionnetrc_default_contents
Create a temporary netrc file with default test credentials and set NETRC env var.
tests/conftest.py:323
Functionnetrc_home_directory
Create a netrc file in a mocked home directory without setting NETRC env var.
tests/conftest.py:351
Functionnetrc_other_host
Create a temporary netrc file with credentials for a different host and set NETRC env var.
tests/conftest.py:340
Functionnew_headers
(session, trace_config_ctx, data)
tests/test_client_session.py:1161
← previousnext →1,901–2,000 of 5,960, ranked by callers