MCPcopy Create free account

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

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

↓ 2 callersMethod_parse_content_type
(self, raw: str | None)
aiohttp/helpers.py:794
↓ 2 callersMethod_pause_transport_reading
(self)
aiohttp/base_protocol.py:92
↓ 2 callersFunction_queue_with_collected_reader
A queue whose reader stalled on a burst and was then collected.
tests/test_websocket_parser.py:1471
↓ 2 callersFunction_raw_ws_server
Serve one raw WebSocket peer and tear it down without waiting on it.
tests/test_client_ws_functional.py:43
↓ 2 callersMethod_readline
(self)
aiohttp/multipart.py:867
↓ 2 callersMethod_release_waiter
(self)
aiohttp/_websocket/reader_py.py:111
↓ 2 callersMethod_replace_contents
(self, loaded: "CookieJar")
aiohttp/cookiejar.py:292
↓ 2 callersFunction_requote_path
(value: str)
aiohttp/web_urldispatcher.py:1284
↓ 2 callersMethod_reset_heartbeat
(self)
aiohttp/client_ws.py:147
↓ 2 callersMethod_reset_heartbeat
(self)
aiohttp/web_ws.py:174
↓ 2 callersMethod_resume_reading_for_buffer
Release that hold, unless flow control is still holding it too.
aiohttp/base_protocol.py:86
↓ 2 callersMethod_resume_transport_reading
(self)
aiohttp/base_protocol.py:101
↓ 2 callersMethod_send_headers_with_payload
Send buffered headers with payload, coalescing into single write.
aiohttp/http_writer.py:125
↓ 2 callersMethod_sendfile_fallback
( self, writer: AbstractStreamWriter, fobj: IO[Any], offset: int, count: int )
aiohttp/web_fileresponse.py:112
↓ 2 callersMethod_set_closed
Set the connection to closed. Cancel any heartbeat timers and set the closed flag.
aiohttp/web_ws.py:266
↓ 2 callersMethod_set_closing
Set the connection to closing. Cancel any heartbeat timers and set the closing flag.
aiohttp/client_ws.py:244
↓ 2 callersMethod_set_code_close_transport
Set the close code and close the transport.
aiohttp/web_ws.py:597
↓ 2 callersMethod_set_status
(self, status: int, reason: str | None)
aiohttp/web_response.py:159
↓ 2 callersMethod_touch_cookies
Record one access generation for cookies used together, like Firefox.
aiohttp/cookiejar.py:831
↓ 2 callersFunction_unquote_path_safe
(value: str)
aiohttp/web_urldispatcher.py:1278
↓ 2 callersMethod_unreg_site
(self, site: BaseSite)
aiohttp/web_runner.py:360
↓ 2 callersMethod_update_body
Update request body after its already been set.
aiohttp/client_reqrep.py:1424
↓ 2 callersMethod_update_proxy_auth_header_and_build_proxy_req
Set Proxy-Authorization header for non-SSL proxy requests and builds the proxy request for SSL proxy requests.
aiohttp/connector.py:605
↓ 2 callersMethod_wait_next_notify
(self)
aiohttp/worker.py:154
↓ 2 callersFunction_warn_if_unclosed_payload
Warn if the payload is not closed. Callers must check that the body is a Payload before calling this method. Args: payload: The payl
aiohttp/client_reqrep.py:262
↓ 2 callersMethodadd_app
Add application to the nested apps stack.
aiohttp/abc.py:86
↓ 2 callersFunctionasync_gen
()
tests/test_client_functional.py:5481
↓ 2 callersFunctionbasicauth_from_netrc
Return :py:class:`~aiohttp.BasicAuth` credentials for ``host`` from ``netrc_obj``. :raises LookupError: if ``netrc_obj`` is :py:data:`None`
aiohttp/helpers.py:269
↓ 2 callersFunctionbuild_client_middlewares
Apply middlewares to request handler. The middlewares are applied in reverse order, so the first middleware in the list wraps all subseq
aiohttp/client_middlewares.py:18
↓ 2 callersFunctionchunkify
(seq, n)
tests/test_streams.py:20
↓ 2 callersMethodclear
(self)
aiohttp/connector.py:882
↓ 2 callersMethodclear_domain
(self, domain: str)
aiohttp/cookiejar.py:379
↓ 2 callersMethodclose
(self)
aiohttp/client_proto.py:90
↓ 2 callersMethodcompress_sync
(self, data: Buffer)
aiohttp/compression_utils.py:316
↓ 2 callersFunctioncompute_expected_digest
( algorithm: str, username: str, password: str, realm: str, nonce: str, uri: str,
tests/test_client_middleware_digest_auth.py:335
↓ 2 callersMethodconnection_lost
(self, exc)
tests/test_client_functional.py:4487
↓ 2 callersFunctioncoro
()
tests/test_client_request.py:1276
↓ 2 callersFunctioncoro
()
tests/test_run_app.py:878
↓ 2 callersFunctiondata_gen
()
tests/test_client_functional.py:403
↓ 2 callersMethoddecode
Decode the payload content as a string if cached chunks are available.
aiohttp/payload.py:1091
↓ 2 callersFunctionencoding_to_mode
( encoding: str | None = None, suppress_deflate_header: bool = False, )
aiohttp/compression_utils.py:163
↓ 2 callersFunctionescape_quotes
Escape backslashes and double quotes for HTTP quoted-strings.
aiohttp/client_middleware_digest_auth.py:104
↓ 2 callersFunctionfailing_body
()
tests/test_client_functional.py:6660
↓ 2 callersFunctionfake_ipv6_addrinfo
(hosts: Collection[str])
tests/test_resolver.py:138
↓ 2 callersFunctionfake_query_result
(result)
tests/test_resolver.py:124
↓ 2 callersMethodfilter_cookies
(self, request_url: URL)
aiohttp/cookiejar.py:997
↓ 2 callersMethodfrom_response
Constructs reader instance from HTTP response. :param response: :class:`~aiohttp.client.ClientResponse` instance
aiohttp/multipart.py:751
↓ 2 callersFunctiongen
()
tests/test_client_functional.py:4619
↓ 2 callersFunctionget_port_socket
( host: str, port: int, family: socket.AddressFamily )
aiohttp/test_utils.py:76
↓ 2 callersFunctionget_test_results
(path: Path, name: str)
tests/autobahn/test_autobahn.py:62
↓ 2 callersMethodhandle_error
Handle errors. Returns HTTP response with specific status code. Logs additional information. It always closes current connection.
aiohttp/web_protocol.py:850
↓ 2 callersMethodindex_resource
Add a resource to the resource index.
aiohttp/web_urldispatcher.py:1130
↓ 2 callersFunctionis_token
(string: str)
aiohttp/multipart.py:86
↓ 2 callersMethodlog_debug
(self, *args: Any, **kw: Any)
aiohttp/web_protocol.py:543
↓ 2 callersFunctionmake_middleware
(num)
tests/test_web_middleware.py:71
↓ 2 callersMethodnamed_resources
(self)
aiohttp/web_urldispatcher.py:1077
↓ 2 callersFunctionnetrc_from_env
Load netrc from file. Attempt to load it from the path specified by the env-var NETRC or in the default location in the user's home directory
aiohttp/helpers.py:220
↓ 2 callersFunctionnew_dummy_form
()
tests/test_web_functional.py:66
↓ 2 callersMethodon_eof
(self, callback: Callable[[], None])
aiohttp/streams.py:614
↓ 2 callersMethodoptions
( self, url: StrOrURL, **kwargs: Unpack[_RequestOptions], )
aiohttp/client.py:1488
↓ 2 callersMethodparse_message
(self, lines: list[bytes])
aiohttp/http_parser.py:323
↓ 2 callersMethodpre_freeze
(self)
aiohttp/web_app.py:286
↓ 2 callersFunctionprocess_xfail
( results: tuple[Result, ...], xfail: dict[str, str] )
tests/autobahn/test_autobahn.py:69
↓ 2 callersMethodraw_match
(self, path: str)
aiohttp/web_urldispatcher.py:417
↓ 2 callersMethodread
Read request body if present. Returns bytes object with full request content.
aiohttp/web_request.py:742
↓ 2 callersMethodregister
( self, factory: PayloadType, type: Any, *, order: Order = Order.normal )
aiohttp/payload.py:122
↓ 2 callersMethodrelease
Release the connection gracefully. All remaining content is read to the void.
aiohttp/multipart.py:271
↓ 2 callersFunctionrequest_cls
(request: Any)
tests/test_http_parser.py:117
↓ 2 callersMethodresume_reading
Swallow resume.
tests/test_benchmarks_multipart.py:32
↓ 2 callersMethodsend_dns_resolvehost_end
(self, host: str)
aiohttp/tracing.py:431
↓ 2 callersMethodsend_dns_resolvehost_start
(self, host: str)
aiohttp/tracing.py:426
↓ 2 callersMethodsend_headers
Force sending buffered headers if not already sent. Required only if write_headers() buffers headers instead of sending immediately.
aiohttp/abc.py:267
↓ 2 callersMethodset_exception
( self, exc: BaseException, exc_cause: builtins.BaseException = _EXC_SENTINEL, )
aiohttp/_websocket/reader_py.py:100
↓ 2 callersMethodset_options_route
(self, handler: Handler)
aiohttp/web_urldispatcher.py:624
↓ 2 callersFunctionsetup_test_loop
Create and return an asyncio.BaseEventLoop instance. The caller should also call teardown_test_loop, once they are done with the loop.
aiohttp/test_utils.py:632
↓ 2 callersMethodshutdown
Causes on_shutdown signal Should be called before cleanup()
aiohttp/web_app.py:467
↓ 2 callersFunctionskip_if_on_windows
()
tests/test_run_app.py:61
↓ 2 callersMethodstart
(self)
aiohttp/web_runner.py:178
↓ 2 callersMethodstart
(self)
aiohttp/web_runner.py:211
↓ 2 callersMethodstart
(self, connection, read_until_eof=False)
tests/test_client_request.py:1457
↓ 2 callersFunctionstrip_auth_from_url
Remove user and password from URL if present and return BasicAuth object.
aiohttp/helpers.py:211
↓ 2 callersFunctionteardown_test_loop
Teardown and cleanup an event_loop created by setup_test_loop.
aiohttp/test_utils.py:645
↓ 2 callersFunctiontest_get_route
(loop, test_client)
tests/test_test_utils.py:161
↓ 2 callersFunctionthrow_exc
()
tests/test_client_request.py:1222
↓ 2 callersMethodtimed_request
(self, url, update_time, send_time)
tests/test_cookiejar.py:554
↓ 2 callersFunctionunescape_quotes
Unescape backslashes and double quotes in HTTP quoted-strings.
aiohttp/client_middleware_digest_auth.py:109
↓ 2 callersMethodupdate_transfer_encoding
Analyze transfer-encoding header.
aiohttp/client_reqrep.py:1352
↓ 2 callersMethodverify_bearer_token
Verify bearer token and return user data if valid.
examples/token_refresh_middleware.py:191
↓ 2 callersMethodview
(self, path: str, **kwargs: Any)
aiohttp/web_routedef.py:201
↓ 2 callersFunctionwait
()
tests/test_base_protocol.py:202
↓ 2 callersMethodwait_eof
(self)
aiohttp/streams.py:247
↓ 2 callersFunctionwait_for_port
(port: int, timeout: float = 15.0)
tests/autobahn/test_autobahn.py:25
↓ 2 callersMethodwrite
(self, writer: AbstractStreamWriter)
aiohttp/multipart.py:687
↓ 2 callersMethodwrite
Accept and drop.
tests/test_client_request.py:2658
↓ 2 callersMethodwrite_eof
(self)
aiohttp/web_ws.py:522
↓ 2 callersFunctionws_ext_gen
( compress: int = 15, isserver: bool = False, server_notakeover: bool = False )
aiohttp/_websocket/helpers.py:129
↓ 2 callersFunctionws_ext_parse
(extstr: str | None, isserver: bool = False)
aiohttp/_websocket/helpers.py:78
↓ 1 callersMethod__aiter__
(self)
aiohttp/streams.py:727
↓ 1 callersMethod__await__
(self)
aiohttp/client.py:1748
↓ 1 callersMethod__init__
( self, *, unsafe: bool = False, quote_cookie: bool = True, treat_as_s
aiohttp/cookiejar.py:146
← previousnext →501–600 of 5,960, ranked by callers