MCPcopy Create free account

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

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

↓ 1 callersMethod_init
(self)
aiohttp/resolver.py:248
↓ 1 callersFunction_ipaddress_accepts_ipv4
Oracle: does the stdlib accept ``host`` as a canonical IPv4 address?
tests/test_helpers.py:388
↓ 1 callersMethod_is_chunked_te
(self, te: str)
aiohttp/http_parser.py:313
↓ 1 callersFunction_is_expected_content_type
( response_content_type: str, expected_content_type: str )
aiohttp/client_reqrep.py:250
↓ 1 callersFunction_is_supported_upgrade
Check if the upgrade header is supported.
aiohttp/http_parser.py:253
↓ 1 callersMethod_iter
(self)
aiohttp/web_urldispatcher.py:948
↓ 1 callersMethod_load_json_data
Replace contents, routing cookies through update_cookies().
aiohttp/cookiejar.py:239
↓ 1 callersMethod_loop_supports_start_tls
(self)
aiohttp/connector.py:1383
↓ 1 callersMethod_make_error_handler
( self, err_info: _ErrInfo )
aiohttp/web_protocol.py:866
↓ 1 callersMethod_make_runner
(self, **kwargs: Any)
aiohttp/test_utils.py:155
↓ 1 callersMethod_make_server
(self)
aiohttp/web_runner.py:344
↓ 1 callersFunction_make_ssl_context
Create SSL context. This method is not async-friendly and should be called from a thread because it will load certificates from disk and do o
aiohttp/connector.py:891
↓ 1 callersMethod_maybe_release_last_part
Ensures that the last read body part is read completely.
aiohttp/multipart.py:895
↓ 1 callersMethod_not_modified
( self, request: "BaseRequest", etag_value: str, last_modified: float )
aiohttp/web_fileresponse.py:163
↓ 1 callersMethod_on_cleanup
(self, app: Application)
aiohttp/web_app.py:599
↓ 1 callersMethod_parse_date
Implements date string parsing adhering to RFC 6265.
aiohttp/cookiejar.py:569
↓ 1 callersFunction_passthrough_loop_context
Passthrough loop context. Sets up and tears down a loop unless one is passed in via the loop argument when it's passed straight through.
aiohttp/pytest_plugin.py:175
↓ 1 callersFunction_patch_ssl_transport
(monkeypatch)
tests/test_proxy_functional.py:716
↓ 1 callersMethod_ping_task_done
Callback for when the ping task completes.
aiohttp/client_ws.py:203
↓ 1 callersMethod_ping_task_done
Callback for when the ping task completes.
aiohttp/web_ws.py:234
↓ 1 callersMethod_post_start
( self, request: BaseRequest, protocol: str | None, writer: WebSocketWriter )
aiohttp/web_ws.py:384
↓ 1 callersMethod_pre_start
(self, request: BaseRequest)
aiohttp/web_ws.py:362
↓ 1 callersMethod_precondition_failed
( self, request: "BaseRequest" )
aiohttp/web_fileresponse.py:174
↓ 1 callersMethod_prepare_headers
(self)
aiohttp/web_response.py:476
↓ 1 callersMethod_prepare_hook
(self, response: StreamResponse)
aiohttp/web_request.py:943
↓ 1 callersMethod_prepare_middleware
(self)
aiohttp/web_app.py:503
↓ 1 callersMethod_prepare_open_file
( self, request: "BaseRequest", fobj: io.BufferedReader, st: os.stat_result,
aiohttp/web_fileresponse.py:301
↓ 1 callersMethod_process_keepalive
(self)
aiohttp/web_protocol.py:548
↓ 1 callersMethod_process_token_refresh
Process the token refresh request.
examples/token_refresh_middleware.py:139
↓ 1 callersMethod_raise_allowed_methods
(self)
aiohttp/web_urldispatcher.py:962
↓ 1 callersMethod_read_all
Read the entire file-like object and return its content as bytes.
aiohttp/payload.py:707
↓ 1 callersMethod_read_boundary
(self)
aiohttp/multipart.py:858
↓ 1 callersMethod_read_chunk_from_length
(self, size: int)
aiohttp/multipart.py:395
↓ 1 callersMethod_read_chunk_from_stream
(self, size: int)
aiohttp/multipart.py:405
↓ 1 callersMethod_read_from_buffer
(self)
aiohttp/_websocket/reader_c.py:124
↓ 1 callersMethod_read_from_buffer
(self)
aiohttp/_websocket/reader_py.py:124
↓ 1 callersMethod_read_headers
(self)
aiohttp/multipart.py:881
↓ 1 callersMethod_read_until_first_boundary
(self)
aiohttp/multipart.py:844
↓ 1 callersMethod_reading_paused_for_msg_queue
Keep the transport paused for protocol-specific reasons (overridden).
aiohttp/base_protocol.py:80
↓ 1 callersMethod_refresh_access_token
Refresh the access token using the refresh token.
examples/token_refresh_middleware.py:50
↓ 1 callersMethod_reg_site
(self, site: BaseSite)
aiohttp/web_runner.py:351
↓ 1 callersMethod_reg_subapp_signals
(self, subapp: "Application")
aiohttp/web_app.py:329
↓ 1 callersMethod_resolve_host_with_throttle
Resolve host and set result for all waiters. This method must be run in a task and shielded from cancellation to avoid cancelling the
aiohttp/connector.py:1191
↓ 1 callersFunction_run_app
( app: Application | Awaitable[Application], *, host: str | HostSequence | None = None, port:
aiohttp/web.py:297
↓ 1 callersFunction_runtime_warning_context
Context manager which checks for RuntimeWarnings. This exists specifically to avoid "coroutine 'X' was never awaited" warnings being missed.
aiohttp/pytest_plugin.py:151
↓ 1 callersMethod_send_compressed_frame_async_locked
Async send for large compressed frames with lock. Acquires the lock and compresses large payloads asynchronously in the exec
aiohttp/_websocket/writer.py:218
↓ 1 callersMethod_send_compressed_frame_sync
Synchronous send for small compressed frames. This is used for small compressed payloads that compress synchronously in the event lo
aiohttp/_websocket/writer.py:190
↓ 1 callersMethod_send_heartbeat
(self)
aiohttp/client_ws.py:163
↓ 1 callersMethod_send_heartbeat
(self)
aiohttp/web_ws.py:193
↓ 1 callersFunction_send_one_hundred_websocket_compressed_messages
()
tests/test_benchmarks_http_websocket.py:139
↓ 1 callersFunction_send_one_hundred_websocket_text_messages
()
tests/test_benchmarks_http_websocket.py:90
↓ 1 callersMethod_sendfile
( self, request: "BaseRequest", fobj: IO[Any], offset: int, count: int )
aiohttp/web_fileresponse.py:133
↓ 1 callersMethod_set_closing
Set the close code and mark the connection as closing.
aiohttp/web_ws.py:576
↓ 1 callersMethod_should_stop_writing
Determine if we should stop writing data. Args: available_len: Known size of the payload if available (None if unknown)
aiohttp/payload.py:643
↓ 1 callersMethod_start
(self, request: "BaseRequest")
aiohttp/web_response.py:466
↓ 1 callersMethod_start_compression
(self, request: "BaseRequest")
aiohttp/web_response.py:446
↓ 1 callersMethod_wait_for_available_connection
Wait for an available connection slot.
aiohttp/connector.py:682
↓ 1 callersFunction_wait_for_close
Wait for all waiters to finish closing.
aiohttp/connector.py:121
↓ 1 callersMethod_wait_released
(self)
aiohttp/client_reqrep.py:671
↓ 1 callersMethod_warn_about_tls_in_tls
Issue a warning if the requested URL has HTTPS scheme.
aiohttp/connector.py:1391
↓ 1 callersMethod_wrap_create_connection
( self, *args: Any, addr_infos: list[AddrInfoType], req: ClientRequest,
aiohttp/connector.py:1288
↓ 1 callersMethod_wrap_existing_connection
( self, *args: Any, req: ClientRequest, timeout: "ClientTimeout", clie
aiohttp/connector.py:1326
↓ 1 callersMethod_write_chunked_payload
Write a chunk with proper chunked encoding.
aiohttp/http_writer.py:119
↓ 1 callersMethod_write_headers
(self)
aiohttp/web_response.py:541
↓ 1 callersMethod_ws_connect
( self, url: StrOrURL, *, decode_text: Literal[True] = ...,
aiohttp/client.py:1120
↓ 1 callersMethod_ws_connect
( self, path: StrOrURL, *, decode_text: Literal[True] = ..., **kwargs: Any )
aiohttp/test_utils.py:476
↓ 1 callersFunction_xor_table
()
aiohttp/_websocket/helpers.py:27
↓ 1 callersMethodadd_delete
Shortcut for add_route with method DELETE.
aiohttp/web_urldispatcher.py:1235
↓ 1 callersMethodadd_fields
(self, *fields: Any)
aiohttp/formdata.py:103
↓ 1 callersMethodadd_patch
Shortcut for add_route with method PATCH.
aiohttp/web_urldispatcher.py:1231
↓ 1 callersMethodadd_view
Shortcut for add_route with ANY methods for a class-based view.
aiohttp/web_urldispatcher.py:1239
↓ 1 callersFunctionallow_connection_and_add_dummy_waiter
()
tests/test_connector.py:4333
↓ 1 callersFunctionapp
()
tests/test_test_utils.py:74
↓ 1 callersMethodas_bytes
Return bytes representation of the value. This method returns the raw bytes content of the payload. It is equivalent to acce
aiohttp/payload.py:373
↓ 1 callersMethodas_bytes
Return bytes representation of the value. This method reads the entire text file content and returns it as bytes. It encodes
aiohttp/payload.py:822
↓ 1 callersMethodas_bytes
Return bytes representation of the value. This method reads the entire BytesIO content and returns it as bytes. It is equiva
aiohttp/payload.py:910
↓ 1 callersMethodas_bytes
Raises TypeError as body parts should be consumed via write(). This is intentional: BodyPartReader payloads are designed for streaming
aiohttp/multipart.py:653
↓ 1 callersFunctionassert_sock_fits
(sock_path)
tests/conftest.py:227
↓ 1 callersMethodassert_timeout
Raise TimeoutError if timer has already been cancelled.
aiohttp/helpers.py:716
↓ 1 callersFunctionasync_connect
()
tests/test_connector.py:4371
↓ 1 callersMethodat_eof
Return True if the buffer is empty and 'feed_eof' was called.
aiohttp/streams.py:243
↓ 1 callersMethodat_eof
(self)
aiohttp/streams.py:615
↓ 1 callersMethodat_eof
Returns True when all response data had been read.
aiohttp/multipart.py:251
↓ 1 callersFunctionauto_refresh_client
()
docs/code/client_middleware_cookbook.py:107
↓ 1 callersFunctionawait_connection_and_check_waiters
()
tests/test_connector.py:4325
↓ 1 callersMethodbegin_http_chunk_receiving
(self)
aiohttp/http_parser.py:1220
↓ 1 callersFunctionbuild
(headers)
tools/gen.py:33
↓ 1 callersFunctioncalc_headers
(root)
tools/gen.py:14
↓ 1 callersFunctioncanceller
()
tests/test_client_functional.py:4275
↓ 1 callersFunctioncheck
(reader)
tests/test_multipart.py:1695
↓ 1 callersFunctioncheck_with_exc
(err: Exception)
tests/test_connector.py:3462
↓ 1 callersMethodcleanup
(self)
aiohttp/web_runner.py:316
↓ 1 callersMethodclear
(self, predicate: ClearCookiePredicate | None = None)
aiohttp/cookiejar.py:668
↓ 1 callersMethodclear_domain
(self, domain: str)
aiohttp/cookiejar.py:300
↓ 1 callersMethodclear_domain
(self, domain: str)
tests/test_client_session.py:767
↓ 1 callersFunctionclient
(url: str, name: str)
tests/autobahn/client/client.py:8
↓ 1 callersMethodclose
Close the payload if it holds any resources. IMPORTANT: This method must not await anything that might not finish immediatel
aiohttp/payload.py:689
↓ 1 callersMethodclose
Close the BytesIO payload. This does nothing since BytesIO is in-memory and does not require explicit closing.
aiohttp/payload.py:920
↓ 1 callersMethodclose
(self)
aiohttp/resolver.py:98
↓ 1 callersMethodclose
Close all fixtures created by the test client. After that point, the TestClient is no longer usable. This is an idempotent function:
aiohttp/test_utils.py:184
← previousnext →601–700 of 5,569, ranked by callers