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
↓ 18 callers
Method
clear
(self, predicate: ClearCookiePredicate | None = None)
aiohttp/cookiejar.py:277
↓ 18 callers
Method
decompress
(self, data: Buffer, *args: Any, **kwargs: Any)
aiohttp/compression_utils.py:133
↓ 18 callers
Function
handler
(request: web.Request)
tests/test_client_middleware.py:36
↓ 18 callers
Method
is_ssl
(self)
aiohttp/client_reqrep.py:962
↓ 18 callers
Method
readline
(self, *, max_line_length: int | None = None)
tests/test_multipart.py:90
↓ 18 callers
Method
write
(self, data: bytes | bytearray | memoryview)
aiohttp/web_response.py:554
↓ 17 callers
Method
_resolve_host
Resolve host and return list of addresses.
aiohttp/connector.py:1092
↓ 17 callers
Function
build_frame
( message, opcode, use_mask=False, noheader=False, is_fin=True, ZLibBackend=None )
tests/test_websocket_parser.py:49
↓ 17 callers
Method
clone
( self, *, method: str | _SENTINEL = sentinel, rel_url: StrOrURL | _SENTINEL =
aiohttp/web_request.py:895
↓ 17 callers
Method
close
(self)
aiohttp/resolver.py:220
↓ 17 callers
Function
set_exception
Set future exception. If the future is marked as complete, this function is a no-op. :param exc_cause: An exception that is a direct cause o
aiohttp/helpers.py:847
↓ 16 callers
Function
aiohttp_raw_server
Factory to create a RawTestServer instance, given a web handler. aiohttp_raw_server(handler, **kwargs)
aiohttp/pytest_plugin.py:334
↓ 16 callers
Function
make_conn
()
tests/test_connector.py:233
↓ 16 callers
Method
set_status
( self, status: int, reason: str | None = None, )
aiohttp/web_response.py:149
↓ 16 callers
Method
trace_config_ctx
Return a new trace_config_ctx instance
aiohttp/tracing.py:88
↓ 15 callers
Function
content_disposition_filename
( params: Mapping[str, str], name: str = "filename" )
aiohttp/multipart.py:185
↓ 14 callers
Method
_handle_frame
( fin: bool, opcode: int, payload: bytes | bytearray, compress
tests/test_websocket_parser.py:35
↓ 14 callers
Method
end_http_chunk_receiving
(self)
aiohttp/streams.py:312
↓ 14 callers
Method
parse_frame
( self, data: bytes )
tests/test_websocket_parser.py:29
↓ 14 callers
Method
readany
(self)
aiohttp/streams.py:452
↓ 14 callers
Function
run_url_dispatcher_benchmark
()
tests/test_benchmarks_web_urldispatcher.py:76
↓ 14 callers
Method
start
(self)
aiohttp/web_runner.py:133
↓ 13 callers
Method
__init__
(self, domain: str)
aiohttp/web_urldispatcher.py:801
↓ 13 callers
Method
_encode
Build digest authorization header for the current challenge. Args: method: The HTTP method (GET, POST, etc.)
aiohttp/client_middleware_digest_auth.py:224
↓ 13 callers
Function
_mock_request
(method: str, path: str)
tests/test_benchmarks_web_urldispatcher.py:41
↓ 13 callers
Method
_release
( self, key: "ConnectionKey", protocol: ResponseHandler, *, should_clo
aiohttp/connector.py:805
↓ 13 callers
Method
close
(self)
aiohttp/connector.py:198
↓ 13 callers
Method
connection_made
(self, transport)
tests/test_client_functional.py:4145
↓ 13 callers
Method
enable_compression
Enables response compression encoding.
aiohttp/web_response.py:194
↓ 13 callers
Function
gen
()
tests/test_payload.py:163
↓ 13 callers
Function
gen_ws_headers
( protocols="", compress=0, extension_text="", server_notakeover=False, client_notakeover=
tests/test_websocket_handshake.py:12
↓ 13 callers
Method
head
( self, url: StrOrURL, **kwargs: Unpack[_RequestOptions], )
aiohttp/client.py:1431
↓ 13 callers
Method
readuntil
( self, separator: bytes = b"\n", *, max_size: int | None = None )
aiohttp/streams.py:372
↓ 13 callers
Method
request_reply_with_same_url
(self, url)
tests/test_cookiejar.py:439
↓ 13 callers
Method
set_cookie
Set or update response cookie. Sets new cookie or updates existent with new value. Also updates only those params which are not None.
aiohttp/web_response.py:225
↓ 13 callers
Method
set_response_params
( self, *, timer: BaseTimerContext | None = None, skip_payload: bool = False,
aiohttp/client_proto.py:228
↓ 12 callers
Function
_merge_ssl_params
( ssl: Union["SSLContext", bool, Fingerprint], verify_ssl: bool | None, ssl_context: Optional["SSL
aiohttp/client_reqrep.py:176
↓ 12 callers
Function
_unquote
Unquote a cookie value. Vendored from http.cookies._unquote to ensure compatibility. Note: The original implementation checked for None
aiohttp/_cookie_helpers.py:138
↓ 12 callers
Method
add_resource
(self, path: str, *, name: str | None = None)
aiohttp/web_urldispatcher.py:1134
↓ 12 callers
Method
begin_http_chunk_receiving
(self)
aiohttp/streams.py:304
↓ 12 callers
Method
connection_made
(self, transport: asyncio.BaseTransport)
aiohttp/base_protocol.py:106
↓ 12 callers
Method
freeze
(self)
aiohttp/tracing.py:92
↓ 12 callers
Function
handler
(request)
tests/test_web_log.py:291
↓ 12 callers
Function
make_runner
(loop: Any, app: Any)
tests/test_web_runner.py:19
↓ 12 callers
Method
next
Emits the next multipart body part.
aiohttp/multipart.py:740
↓ 12 callers
Method
ping
(self, message: bytes = b"")
aiohttp/web_ws.py:454
↓ 12 callers
Method
resolve
( self, host: str, port: int = 0, family: socket.AddressFamily = socket.AF_INET )
aiohttp/resolver.py:130
↓ 12 callers
Method
save
Save cookies to a file using JSON format. :param file_path: Path to file where cookies will be serialized, :class:`str` or :class
aiohttp/cookiejar.py:173
↓ 12 callers
Method
send_json
( self, data: Any, compress: int | None = None, *, dumps: JSONEncoder
aiohttp/web_ws.py:489
↓ 12 callers
Method
write_eof
(self, data: bytes = b"")
aiohttp/web_response.py:800
↓ 11 callers
Method
_create_connection
( self, req: ClientRequest, traces: list["Trace"], timeout: "ClientTimeout" )
tests/test_client_middleware.py:880
↓ 11 callers
Method
call
(self, request, handler: Handler)
tests/test_web_middleware.py:509
↓ 11 callers
Method
close
(self)
aiohttp/client_reqrep.py:613
↓ 11 callers
Method
compressobj
(self, *args: Any, **kwargs: Any)
aiohttp/compression_utils.py:124
↓ 11 callers
Method
debug
(self)
aiohttp/web_app.py:325
↓ 11 callers
Method
decode
Decodes data synchronously. Decodes data according the specified Content-Encoding or Content-Transfer-Encoding headers value.
aiohttp/multipart.py:537
↓ 11 callers
Method
prepare
(self, request: "BaseRequest")
aiohttp/web_fileresponse.py:256
↓ 11 callers
Function
set_result
(fut: "asyncio.Future[_T]", result: _T)
aiohttp/helpers.py:831
↓ 11 callers
Method
stop
(self, request: web.Request)
tests/test_run_app.py:1003
↓ 10 callers
Method
__init__
( self, value: Any, headers: ( _CIMultiDict | dict[str, str] | Iterable[tu
aiohttp/payload.py:147
↓ 10 callers
Method
_get_ssl_context
Logic to get the correct SSL context 0. if req.ssl is false, return None 1. if ssl_context is specified in req, use it 2. if
aiohttp/connector.py:1246
↓ 10 callers
Method
_handshake
( self, request: BaseRequest )
aiohttp/web_ws.py:278
↓ 10 callers
Method
add_done_callback
Dummy method.
tests/test_client_request.py:40
↓ 10 callers
Method
append_json
Helper to append JSON part.
aiohttp/multipart.py:1044
↓ 10 callers
Method
data_received
(self, data: bytes)
aiohttp/client_proto.py:300
↓ 10 callers
Method
enable_compression
Compression not implemented for test writer.
tests/test_payload.py:36
↓ 10 callers
Method
read
Read response payload.
aiohttp/client_reqrep.py:711
↓ 10 callers
Method
start
(self)
aiohttp/web_runner.py:253
↓ 10 callers
Method
start_server
(self)
aiohttp/test_utils.py:311
↓ 10 callers
Method
startup
Causes on_startup signal Should be called in the event loop along with the request handler.
aiohttp/web_app.py:457
↓ 10 callers
Method
write
Write payload to the writer stream. Args: writer: An AbstractStreamWriter instance that handles the actual writing
aiohttp/payload.py:254
↓ 10 callers
Method
write_with_length
Write async iterable payload with a specific content length constraint. Args: writer: An AbstractStreamWriter instance t
aiohttp/payload.py:1032
↓ 9 callers
Function
_create_example_app
()
tests/test_test_utils.py:37
↓ 9 callers
Method
_drop_timeout
(self)
aiohttp/client_proto.py:266
↓ 9 callers
Method
_request
( self, method: str, str_or_url: StrOrURL, *, params: Query = None,
aiohttp/client.py:537
↓ 9 callers
Method
_set_or_restore_start_position
Set or restore the start position of the file-like object.
aiohttp/payload.py:474
↓ 9 callers
Method
at_eof
(self)
tests/test_multipart.py:87
↓ 9 callers
Function
cb
(app: web.Application)
tests/test_web_app.py:187
↓ 9 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:327
↓ 9 callers
Method
enable_chunked_encoding
Enables automatic chunked transfer encoding.
aiohttp/web_response.py:184
↓ 9 callers
Method
freeze
Freeze router.
aiohttp/abc.py:42
↓ 9 callers
Method
get
(self, key: AppKey[_T], default: _S)
aiohttp/helpers.py:958
↓ 9 callers
Method
log
(self, request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:212
↓ 9 callers
Method
next_addrs
(self, key: tuple[str, int])
aiohttp/connector.py:876
↓ 9 callers
Method
pause_writing
(self)
aiohttp/base_protocol.py:52
↓ 9 callers
Method
put
( self, url: StrOrURL, **kwargs: Unpack[_RequestOptions], )
aiohttp/client.py:1443
↓ 9 callers
Method
readchunk
Returns a tuple of (data, end_of_http_chunk). When chunked transfer encoding is used, end_of_http_chunk is a boolean indicating if th
aiohttp/streams.py:464
↓ 9 callers
Method
receive_bytes
(self, *, timeout: float | None = None)
aiohttp/web_ws.py:709
↓ 9 callers
Method
remove
(self, key: tuple[str, int])
aiohttp/connector.py:868
↓ 9 callers
Method
route
(self, method: str, path: str, **kwargs: Any)
aiohttp/web_routedef.py:171
↓ 9 callers
Method
set_content_disposition
Sets ``Content-Disposition`` header.
aiohttp/payload.py:233
↓ 9 callers
Method
update_body
Update request body and close previous payload if needed. This method safely updates the request body by first closing any existing
aiohttp/client_reqrep.py:1252
↓ 9 callers
Method
write_eof
(self, data: bytes = b"")
aiohttp/web_response.py:576
↓ 9 callers
Method
write_with_length
Write BytesIO payload with a specific content length constraint. Args: writer: An AbstractStreamWriter instance that han
aiohttp/payload.py:869
↓ 8 callers
Method
_drain_helper
(self)
aiohttp/base_protocol.py:131
↓ 8 callers
Method
_release_acquired
Release acquired connection.
aiohttp/connector.py:792
↓ 8 callers
Method
_request
( self, method: str, path: StrOrURL, **kwargs: Any )
aiohttp/test_utils.py:344
↓ 8 callers
Method
as_bytes
Return bytes representation of the value. This is a convenience method that calls decode() and encodes the result to bytes u
aiohttp/payload.py:298
↓ 8 callers
Function
ceil_timeout
( delay: float | None, ceil_threshold: float = 5 )
aiohttp/helpers.py:770
↓ 8 callers
Method
decompress_sync
( self, data: Buffer, max_length: int = ZLIB_MAX_LENGTH_UNLIMITED )
aiohttp/compression_utils.py:283
← previous
next →
101–200 of 5,569, ranked by callers