Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/aiohttp
/ functions
Functions
5,960 in github.com/aio-libs/aiohttp
⨍
Functions
5,960
◇
Types & classes
464
↳
Endpoints
71
↓ 1 callers
Method
_read_chunk_from_stream
(self, size: int)
aiohttp/multipart.py:429
↓ 1 callers
Method
_read_from_buffer
(self)
aiohttp/_websocket/reader_py.py:143
↓ 1 callers
Method
_read_headers
(self)
aiohttp/multipart.py:909
↓ 1 callers
Method
_read_until_first_boundary
(self)
aiohttp/multipart.py:872
↓ 1 callers
Method
_refresh_access_token
Refresh the access token using the refresh token.
examples/token_refresh_middleware.py:50
↓ 1 callers
Method
_reg_site
(self, site: BaseSite)
aiohttp/web_runner.py:351
↓ 1 callers
Method
_reg_subapp_signals
(self, subapp: "Application")
aiohttp/web_app.py:332
↓ 1 callers
Method
_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:1212
↓ 1 callers
Function
_run_app
( app: Application | Awaitable[Application], *, host: str | HostSequence | None = None, port:
aiohttp/web.py:297
↓ 1 callers
Function
_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 callers
Method
_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:226
↓ 1 callers
Method
_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:198
↓ 1 callers
Method
_send_heartbeat
(self)
aiohttp/client_ws.py:168
↓ 1 callers
Method
_send_heartbeat
(self)
aiohttp/web_ws.py:195
↓ 1 callers
Function
_send_one_hundred_websocket_compressed_messages
()
tests/test_benchmarks_http_websocket.py:187
↓ 1 callers
Function
_send_one_hundred_websocket_text_messages
()
tests/test_benchmarks_http_websocket.py:138
↓ 1 callers
Method
_sendfile
( self, request: "BaseRequest", fobj: IO[Any], offset: int, count: int )
aiohttp/web_fileresponse.py:133
↓ 1 callers
Method
_set_closing
Set the close code and mark the connection as closing.
aiohttp/web_ws.py:591
↓ 1 callers
Method
_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 callers
Method
_start
(self, request: "BaseRequest")
aiohttp/web_response.py:466
↓ 1 callers
Method
_start_compression
(self, request: "BaseRequest")
aiohttp/web_response.py:446
↓ 1 callers
Function
_too_many_fields
(max_fields: int)
aiohttp/web_request.py:137
↓ 1 callers
Method
_wait_for_available_connection
Wait for an available connection slot.
aiohttp/connector.py:690
↓ 1 callers
Function
_wait_for_close
Wait for all waiters to finish closing.
aiohttp/connector.py:122
↓ 1 callers
Method
_wait_released
(self)
aiohttp/client_reqrep.py:858
↓ 1 callers
Method
_warn_about_tls_in_tls
Issue a warning if the requested URL has HTTPS scheme.
aiohttp/connector.py:1412
↓ 1 callers
Method
_wrap_create_connection
( self, *args: Any, addr_infos: list[AddrInfoType], req: ClientRequest,
aiohttp/connector.py:1309
↓ 1 callers
Method
_wrap_existing_connection
( self, *args: Any, req: ClientRequest, timeout: "ClientTimeout", clie
aiohttp/connector.py:1347
↓ 1 callers
Method
_write_chunked_payload
Write a chunk with proper chunked encoding.
aiohttp/http_writer.py:120
↓ 1 callers
Method
_write_headers
(self)
aiohttp/web_response.py:542
↓ 1 callers
Method
_ws_connect
( self, url: StrOrURL, *, decode_text: Literal[True] = ...,
aiohttp/client.py:1183
↓ 1 callers
Method
_ws_connect
( self, path: StrOrURL, *, decode_text: Literal[True] = ..., **kwargs: Any )
aiohttp/test_utils.py:476
↓ 1 callers
Function
_xor_table
()
aiohttp/_websocket/helpers.py:27
↓ 1 callers
Method
add_delete
Shortcut for add_route with method DELETE.
aiohttp/web_urldispatcher.py:1244
↓ 1 callers
Method
add_fields
(self, *fields: Any)
aiohttp/formdata.py:103
↓ 1 callers
Method
add_patch
Shortcut for add_route with method PATCH.
aiohttp/web_urldispatcher.py:1240
↓ 1 callers
Method
add_view
Shortcut for add_route with ANY methods for a class-based view.
aiohttp/web_urldispatcher.py:1248
↓ 1 callers
Function
allow_connection_and_add_dummy_waiter
()
tests/test_connector.py:4388
↓ 1 callers
Function
app
()
tests/test_test_utils.py:74
↓ 1 callers
Method
as_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 callers
Method
as_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 callers
Method
as_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 callers
Method
as_bytes
Raises TypeError as body parts should be consumed via write(). This is intentional: BodyPartReader payloads are designed for streaming
aiohttp/multipart.py:677
↓ 1 callers
Function
assert_sock_fits
(sock_path)
tests/conftest.py:227
↓ 1 callers
Method
assert_timeout
Raise TimeoutError if timer has already been cancelled.
aiohttp/helpers.py:716
↓ 1 callers
Function
async_connect
()
tests/test_connector.py:4426
↓ 1 callers
Method
at_eof
Return True if the buffer is empty and 'feed_eof' was called.
aiohttp/streams.py:243
↓ 1 callers
Method
at_eof
(self)
aiohttp/streams.py:626
↓ 1 callers
Method
at_eof
Returns True when all response data had been read.
aiohttp/multipart.py:258
↓ 1 callers
Function
auto_refresh_client
()
docs/code/client_middleware_cookbook.py:107
↓ 1 callers
Function
await_connection_and_check_waiters
()
tests/test_connector.py:4380
↓ 1 callers
Method
begin_http_chunk_receiving
(self)
aiohttp/http_parser.py:1278
↓ 1 callers
Function
build
(headers)
tools/gen.py:33
↓ 1 callers
Function
calc_headers
(root)
tools/gen.py:14
↓ 1 callers
Function
canceller
()
tests/test_client_functional.py:4601
↓ 1 callers
Function
check
(reader)
tests/test_multipart.py:1818
↓ 1 callers
Function
check_with_exc
(err: Exception)
tests/test_connector.py:3517
↓ 1 callers
Method
cleanup
(self)
aiohttp/web_runner.py:316
↓ 1 callers
Method
clear
(self, predicate: ClearCookiePredicate | None = None)
aiohttp/cookiejar.py:983
↓ 1 callers
Method
clear_domain
(self, domain: str)
tests/test_client_session.py:767
↓ 1 callers
Function
client
(url: str, name: str)
tests/autobahn/client/client.py:8
↓ 1 callers
Method
close
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 callers
Method
close
Close the BytesIO payload. This does nothing since BytesIO is in-memory and does not require explicit closing.
aiohttp/payload.py:920
↓ 1 callers
Method
close
(self)
aiohttp/resolver.py:98
↓ 1 callers
Method
close
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
↓ 1 callers
Method
close
Close all part payloads that need explicit closing. IMPORTANT: This method must not await anything that might not finish imm
aiohttp/multipart.py:1199
↓ 1 callers
Function
close_connector
()
tests/test_connector.py:4650
↓ 1 callers
Method
compile_format
Translate log_format into form usable by modulo formatting All known atoms will be replaced with %s Also methods for formatting of th
aiohttp/web_log.py:85
↓ 1 callers
Function
content_disposition_header
Sets ``Content-Disposition`` header for MIME. This is the MIME payload Content-Disposition header from RFC 2183 and RFC 7579 section 4.2, not
aiohttp/helpers.py:450
↓ 1 callers
Function
create_mocked_conn
(loop: Any)
tests/conftest.py:272
↓ 1 callers
Function
curl
(url)
examples/curl.py:10
↓ 1 callers
Function
data_gen
()
tests/test_client_request.py:2279
↓ 1 callers
Function
data_generator
()
tests/test_client_functional.py:5133
↓ 1 callers
Method
decode
Return string representation of the value. WARNING: This method does blocking I/O and should not be called in the event loop.
aiohttp/payload.py:699
↓ 1 callers
Method
decode
Create a BasicAuth object from an Authorization HTTP header.
aiohttp/helpers.py:156
↓ 1 callers
Method
decode
(self, encoding: str = "utf-8", errors: str = "strict")
aiohttp/multipart.py:674
↓ 1 callers
Method
decode
Custom decode implementation.
tests/test_payload.py:1031
↓ 1 callers
Method
decompress_sync
Decompress the given data.
aiohttp/compression_utils.py:197
↓ 1 callers
Method
detach
Detach connector from session without closing the former. Session is switched to closed state anyway.
aiohttp/client.py:1699
↓ 1 callers
Function
dispatch
(ws: aiohttp.ClientWebSocketResponse)
examples/client_ws.py:15
↓ 1 callers
Function
dns_response_error
(loop)
tests/test_connector.py:1424
↓ 1 callers
Method
enable_chunking
Enable HTTP chunked mode
aiohttp/abc.py:258
↓ 1 callers
Method
enable_compression
( self, encoding: str = "deflate", strategy: int | None = None )
aiohttp/multipart.py:1239
↓ 1 callers
Method
enable_encoding
(self, encoding: str)
aiohttp/multipart.py:1232
↓ 1 callers
Function
encode_basic_auth
Encode HTTP Basic Authentication credentials as an Authorization header value. Returns a string of the form ``"Basic <base64>"`` suitable for use
aiohttp/helpers.py:119
↓ 1 callers
Method
end_http_chunk_receiving
(self)
aiohttp/http_parser.py:1281
↓ 1 callers
Method
eof_received
(self)
aiohttp/client_proto.py:188
↓ 1 callers
Method
exception
(self)
aiohttp/client_ws.py:282
↓ 1 callers
Method
exception
(self)
aiohttp/streams.py:604
↓ 1 callers
Method
expect_handler
Expect handler for 100-continue processing
aiohttp/abc.py:62
↓ 1 callers
Function
factory
()
tools/gen.py:26
↓ 1 callers
Function
fail
()
tests/test_run_app.py:898
↓ 1 callers
Function
fake_aiodns_getnameinfo_ipv6_result
( host: str, )
tests/test_resolver.py:118
↓ 1 callers
Function
fake_ipv6_nameinfo
(host: str)
tests/test_resolver.py:157
↓ 1 callers
Method
feed_data
(self, data: bytes, n: int = 0)
aiohttp/streams.py:632
↓ 1 callers
Method
feed_eof
(self)
aiohttp/streams.py:620
↓ 1 callers
Function
fetch
(session: aiohttp.ClientSession)
examples/client_json.py:7
↓ 1 callers
Function
fetch
(session)
examples/client_auth.py:7
↓ 1 callers
Function
fetch1
()
tests/test_client_functional.py:4588
↓ 1 callers
Function
fetch2
()
tests/test_client_functional.py:4596
← previous
next →
701–800 of 5,960, ranked by callers