Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/aiohttp
/ functions
Functions
5,569 in github.com/aio-libs/aiohttp
⨍
Functions
5,569
◇
Types & classes
450
↳
Endpoints
67
↓ 3 callers
Method
force_close
(self)
aiohttp/web_response.py:171
↓ 3 callers
Method
get
( self, data: Any, *args: Any, _CHAIN: "type[chain[_PayloadRegistryItem]]" = c
aiohttp/payload.py:99
↓ 3 callers
Method
get_info
(self)
aiohttp/web_urldispatcher.py:834
↓ 3 callers
Method
get_read_buffer_limits
(self)
aiohttp/streams.py:176
↓ 3 callers
Method
get_resolver
Get or create the shared aiodns.DNSResolver instance for a specific event loop. Args: client: The AsyncResolver instance requesti
aiohttp/resolver.py:255
↓ 3 callers
Function
guess_filename
(obj: Any, default: str | None = None)
aiohttp/helpers.py:426
↓ 3 callers
Method
handler
(request: web.Request)
tests/test_run_app.py:1069
↓ 3 callers
Method
init_process
(self)
aiohttp/worker.py:49
↓ 3 callers
Method
log_exception
(self, *args: Any, **kw: Any)
aiohttp/web_protocol.py:545
↓ 3 callers
Method
message_consumed
Protocol drained a queued message; free a slot for parsing.
aiohttp/http_parser.py:319
↓ 3 callers
Method
multipart
Return async iterator to process BODY as multipart.
aiohttp/web_request.py:723
↓ 3 callers
Function
must_be_empty_body
Check if a request must return an empty body.
aiohttp/helpers.py:1028
↓ 3 callers
Method
next
Emits next multipart reader object.
aiohttp/multipart.py:255
↓ 3 callers
Function
parse_header_pairs
Parse key-value pairs from the first challenge of a WWW-Authenticate header. This function handles the complex format of WWW-Authenticate he
aiohttp/client_middleware_digest_auth.py:114
↓ 3 callers
Method
parse_headers
Parses RFC 5322 headers from a stream. Line continuations are supported. Returns list of header name and value pairs. Header name is
aiohttp/http_parser.py:596
↓ 3 callers
Method
post
(self)
examples/web_classview.py:22
↓ 3 callers
Method
read
(self)
aiohttp/_websocket/reader_c.py:113
↓ 3 callers
Method
read
(self, size: int)
tests/test_payload.py:1377
↓ 3 callers
Method
register_resource
(self, resource: AbstractResource)
aiohttp/web_urldispatcher.py:1071
↓ 3 callers
Method
release
Reads all the body parts to the void till the final boundary.
aiohttp/multipart.py:775
↓ 3 callers
Method
release_resolver
Release the resolver for an AsyncResolver client when it's closed. Args: client: The AsyncResolver instance to release.
aiohttp/resolver.py:278
↓ 3 callers
Method
remove_done_callback
Dummy method.
tests/test_client_request.py:43
↓ 3 callers
Method
request
( self, method: str, url: StrOrURL, **kwargs: Unpack[_RequestO
aiohttp/client.py:516
↓ 3 callers
Method
set_exception
( self, exc: BaseException, exc_cause: BaseException = _EXC_SENTINEL, )
aiohttp/client_proto.py:198
↓ 3 callers
Method
set_exception
( self, exc: BaseException, exc_cause: BaseException = _EXC_SENTINEL, )
aiohttp/streams.py:188
↓ 3 callers
Method
set_read_chunk_size
Raise buffer limits to match the consumer's chunk size.
aiohttp/streams.py:179
↓ 3 callers
Function
setup
()
tests/test_benchmarks_client_request.py:29
↓ 3 callers
Function
should_remove_content_length
Check if a Content-Length header should be removed. This should always be a subset of must_be_empty_body
aiohttp/helpers.py:1037
↓ 3 callers
Method
start
(self)
aiohttp/helpers.py:655
↓ 3 callers
Method
timeout
(self)
aiohttp/helpers.py:762
↓ 2 callers
Function
KD
(secret: str, data: str)
tests/test_client_middleware_digest_auth.py:353
↓ 2 callers
Method
__aenter__
(self)
aiohttp/client.py:1655
↓ 2 callers
Method
__aexit__
( self, exc_type: type[BaseException] | None, exc_val: BaseException | None, e
aiohttp/client.py:1658
↓ 2 callers
Method
__init__
( self, boundary: bytes, headers: "CIMultiDictProxy[str]", content: StreamRead
aiohttp/multipart.py:277
↓ 2 callers
Method
__new__
Create a new RequestInfo instance. For backwards compatibility, the real_url parameter is optional.
aiohttp/client_reqrep.py:122
↓ 2 callers
Method
_add_prefix_to_resources
(self, prefix: str)
aiohttp/web_urldispatcher.py:749
↓ 2 callers
Method
_add_subapp
( self, resource_factory: Callable[[], _Resource], subapp: "Application" )
aiohttp/web_app.py:352
↓ 2 callers
Method
_apply_content_transfer_decoding
Apply Content-Transfer-Encoding decoding if header is present.
aiohttp/multipart.py:526
↓ 2 callers
Method
_build_url
(self, str_or_url: StrOrURL)
aiohttp/client.py:531
↓ 2 callers
Method
_cancel
(self, exc: BaseException)
aiohttp/web_request.py:861
↓ 2 callers
Method
_check_frozen
(self)
aiohttp/web_app.py:201
↓ 2 callers
Method
_check_loop_for_start_tls
(self)
aiohttp/connector.py:1366
↓ 2 callers
Method
_close
Async safe synchronous close operations for backwards compatibility. This method exists only for backwards compatibility with code t
aiohttp/payload.py:309
↓ 2 callers
Method
_close_transport
Close the transport.
aiohttp/web_ws.py:587
↓ 2 callers
Method
_create_connection
( self, req: ClientRequest, traces: list["Trace"], timeout: "ClientTimeout" )
aiohttp/connector.py:837
↓ 2 callers
Method
_expire_cookie
(self, when: float, domain: str, path: str, name: str)
aiohttp/cookiejar.py:366
↓ 2 callers
Function
_gen_default_accept_encoding
()
aiohttp/client_reqrep.py:94
↓ 2 callers
Method
_generate_content_type_header
( self, CONTENT_TYPE: istr = hdrs.CONTENT_TYPE )
aiohttp/web_response.py:422
↓ 2 callers
Method
_get_fingerprint
(self, req: ClientRequest)
aiohttp/connector.py:1279
↓ 2 callers
Method
_get_resource_index_key
Return a key to index the resource in the resource index.
aiohttp/web_urldispatcher.py:1110
↓ 2 callers
Method
_handle_ping_pong_exception
Handle exceptions raised during ping/pong processing.
aiohttp/client_ws.py:214
↓ 2 callers
Method
_handle_ping_pong_exception
Handle exceptions raised during ping/pong processing.
aiohttp/web_ws.py:248
↓ 2 callers
Method
_if_match_or_none_impl
( cls, header_value: str | None )
aiohttp/web_request.py:573
↓ 2 callers
Method
_is_domain_match
Implements domain matching adhering to RFC 6265.
aiohttp/cookiejar.py:553
↓ 2 callers
Function
_is_windows_localhost
(host: str)
aiohttp/resolver.py:29
↓ 2 callers
Method
_needs_content_decoding
Check if Content-Encoding decoding should be applied.
aiohttp/multipart.py:532
↓ 2 callers
Method
_notify_content
(self)
aiohttp/client_reqrep.py:692
↓ 2 callers
Method
_notify_release
(self)
aiohttp/connector.py:191
↓ 2 callers
Method
_on_data_received
(self)
aiohttp/client_ws.py:125
↓ 2 callers
Method
_on_data_received
(self)
aiohttp/web_ws.py:155
↓ 2 callers
Method
_parse_content_type
(self, raw: str | None)
aiohttp/helpers.py:794
↓ 2 callers
Method
_readline
(self)
aiohttp/multipart.py:839
↓ 2 callers
Method
_release_waiter
(self)
aiohttp/_websocket/reader_c.py:92
↓ 2 callers
Method
_release_waiter
(self)
aiohttp/_websocket/reader_py.py:92
↓ 2 callers
Function
_requote_path
(value: str)
aiohttp/web_urldispatcher.py:1275
↓ 2 callers
Method
_reset_heartbeat
(self)
aiohttp/client_ws.py:142
↓ 2 callers
Method
_reset_heartbeat
(self)
aiohttp/web_ws.py:172
↓ 2 callers
Method
_send_headers_with_payload
Send buffered headers with payload, coalescing into single write.
aiohttp/http_writer.py:124
↓ 2 callers
Method
_sendfile_fallback
( self, writer: AbstractStreamWriter, fobj: IO[Any], offset: int, count: int )
aiohttp/web_fileresponse.py:112
↓ 2 callers
Method
_set_closed
Set the connection to closed. Cancel any heartbeat timers and set the closed flag.
aiohttp/web_ws.py:258
↓ 2 callers
Method
_set_closing
Set the connection to closing. Cancel any heartbeat timers and set the closing flag.
aiohttp/client_ws.py:233
↓ 2 callers
Method
_set_code_close_transport
Set the close code and close the transport.
aiohttp/web_ws.py:582
↓ 2 callers
Method
_set_status
(self, status: int, reason: str | None)
aiohttp/web_response.py:159
↓ 2 callers
Function
_unquote_path_safe
(value: str)
aiohttp/web_urldispatcher.py:1269
↓ 2 callers
Method
_unreg_site
(self, site: BaseSite)
aiohttp/web_runner.py:360
↓ 2 callers
Method
_update_body
Update request body after its already been set.
aiohttp/client_reqrep.py:1234
↓ 2 callers
Method
_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:597
↓ 2 callers
Method
_wait_next_notify
(self)
aiohttp/worker.py:154
↓ 2 callers
Function
_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:258
↓ 2 callers
Method
abort
(self)
aiohttp/client_proto.py:97
↓ 2 callers
Method
add_app
Add application to the nested apps stack.
aiohttp/abc.py:86
↓ 2 callers
Function
async_gen
()
tests/test_client_functional.py:5155
↓ 2 callers
Function
basicauth_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 callers
Function
build_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 callers
Function
chunkify
(seq, n)
tests/test_streams.py:20
↓ 2 callers
Method
clear
(self)
aiohttp/connector.py:872
↓ 2 callers
Method
close
(self)
aiohttp/client_proto.py:88
↓ 2 callers
Method
compress_sync
(self, data: Buffer)
aiohttp/compression_utils.py:221
↓ 2 callers
Function
compute_expected_digest
( algorithm: str, username: str, password: str, realm: str, nonce: str, uri: str,
tests/test_client_middleware_digest_auth.py:335
↓ 2 callers
Function
coro
()
tests/test_client_request.py:1261
↓ 2 callers
Function
coro
()
tests/test_run_app.py:878
↓ 2 callers
Function
data_gen
()
tests/test_client_functional.py:400
↓ 2 callers
Method
decode
Decode the payload content as a string if cached chunks are available.
aiohttp/payload.py:1088
↓ 2 callers
Function
encoding_to_mode
( encoding: str | None = None, suppress_deflate_header: bool = False, )
aiohttp/compression_utils.py:148
↓ 2 callers
Function
escape_quotes
Escape backslashes and double quotes for HTTP quoted-strings.
aiohttp/client_middleware_digest_auth.py:104
↓ 2 callers
Function
fake_ipv6_addrinfo
(hosts: Collection[str])
tests/test_resolver.py:138
↓ 2 callers
Function
fake_query_result
(result)
tests/test_resolver.py:124
↓ 2 callers
Method
filter_cookies
(self, request_url: URL)
aiohttp/cookiejar.py:677
↓ 2 callers
Method
from_response
Constructs reader instance from HTTP response. :param response: :class:`~aiohttp.client.ClientResponse` instance
aiohttp/multipart.py:723
↓ 2 callers
Function
get_port_socket
( host: str, port: int, family: socket.AddressFamily )
aiohttp/test_utils.py:76
← previous
next →
401–500 of 5,569, ranked by callers