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
↓ 4 callers
Function
_build_request_parser
( request_cls: type[HttpRequestParser], protocol: BaseProtocol, loop: asyncio.AbstractEventLoop,
tests/test_http_parser.py:165
↓ 4 callers
Method
_cancel_heartbeat
(self)
aiohttp/web_ws.py:137
↓ 4 callers
Method
_cleanup
Cleanup unused transports.
aiohttp/connector.py:420
↓ 4 callers
Method
_cleanup_writer
(self)
aiohttp/client_reqrep.py:684
↓ 4 callers
Method
_create_ssl_context
Creates SSLContext instance for usage in asyncio.create_server. See ssl.SSLSocket.__init__ for more details.
aiohttp/worker.py:229
↓ 4 callers
Method
_do_expiration
Remove expired cookies.
aiohttp/cookiejar.py:316
↓ 4 callers
Method
_get_compressor
Get or create a compressor object for the given compression level.
aiohttp/_websocket/writer.py:173
↓ 4 callers
Method
_in_protection_space
Check if the given URL is within the current protection space. According to RFC 7616, a URI is in the protection space if any URI
aiohttp/client_middleware_digest_auth.py:389
↓ 4 callers
Method
_notify_waiter_done
( self, waiter: Optional["asyncio.Future[bool]"] = None )
aiohttp/worker.py:164
↓ 4 callers
Method
_read_nowait
Read not more than n bytes, or whole buffer if n == -1
aiohttp/streams.py:559
↓ 4 callers
Method
_reschedule_timeout
(self)
aiohttp/client_proto.py:271
↓ 4 callers
Method
_resume_msg_queue_reading
(self)
aiohttp/web_protocol.py:487
↓ 4 callers
Method
_start
(self, request: "BaseRequest")
aiohttp/web_response.py:821
↓ 4 callers
Method
_start_tls_connection
Wrap the raw TCP transport with TLS.
aiohttp/connector.py:1440
↓ 4 callers
Method
_writelines
(self, chunks: Iterable[Buffer])
aiohttp/http_writer.py:105
↓ 4 callers
Method
add_callback
(self, callback: Callable[[], None])
aiohttp/connector.py:187
↓ 4 callers
Method
add_domain
(self, domain: str, subapp: "Application")
aiohttp/web_app.py:368
↓ 4 callers
Method
add_head
Shortcut for add_route with method HEAD.
aiohttp/web_urldispatcher.py:1196
↓ 4 callers
Method
as_bytes
Return bytes representation of the value. This method reads the entire async iterable content and returns it as bytes. It ge
aiohttp/payload.py:1094
↓ 4 callers
Function
bytes_gen
(size)
tests/test_web_request.py:250
↓ 4 callers
Method
close
(self)
aiohttp/helpers.py:652
↓ 4 callers
Method
connection_made
( self, handler: RequestHandler, transport: asyncio.Transport )
aiohttp/web_server.py:39
↓ 4 callers
Function
create_server_for_url_and_handler
(aiohttp_server, tls_certificate_authority)
tests/test_client_functional.py:3500
↓ 4 callers
Method
decode_iter
Async generator that yields decoded data chunks. Decodes data according the specified Content-Encoding or Content-Transfer-Encoding h
aiohttp/multipart.py:551
↓ 4 callers
Method
decompress_sync
( self, data: Buffer, max_length: int = ZLIB_MAX_LENGTH_UNLIMITED )
aiohttp/compression_utils.py:402
↓ 4 callers
Method
del_cookie
Delete cookie. Creates new empty expired cookie.
aiohttp/web_response.py:278
↓ 4 callers
Method
drain
Flush the write buffer. The intended use is to write await w.write(data) await w.drain()
aiohttp/http_writer.py:338
↓ 4 callers
Function
fake_aiodns_getaddrinfo_ipv4_result
( hosts: Collection[str], )
tests/test_resolver.py:106
↓ 4 callers
Method
feed_data
( self, data: bytes, SEP: _SEP = b"\r\n", EMPTY: bytes = b"", CONTENT_
aiohttp/http_parser.py:341
↓ 4 callers
Method
feed_data
(self, data: bytes | bytearray | memoryview)
aiohttp/_websocket/reader_c.py:173
↓ 4 callers
Method
force_close
Ultimately close connection on releasing if True.
aiohttp/connector.py:398
↓ 4 callers
Function
handler
(request)
tests/test_web_middleware.py:13
↓ 4 callers
Method
is_closing
Swallow is_closing.
tests/test_benchmarks_client_request.py:137
↓ 4 callers
Method
is_connected
(self)
aiohttp/client_proto.py:106
↓ 4 callers
Function
is_ip_address
Check if host looks like an IP Address. This check is only meant as a heuristic to ensure that a host is not a domain name.
aiohttp/helpers.py:501
↓ 4 callers
Method
iter_any
Yield all available data as soon as it is received.
aiohttp/streams.py:164
↓ 4 callers
Method
iter_chunks
Yield chunks of data as they are received by the server. The yielded objects are tuples of (bytes, bool) as returned by the StreamRea
aiohttp/streams.py:168
↓ 4 callers
Method
post
( self, url: StrOrURL, **kwargs: Unpack[_RequestOptions], )
aiohttp/client.py:1437
↓ 4 callers
Method
readline
Reads body part by line by line.
aiohttp/multipart.py:450
↓ 4 callers
Method
register
( self, callback: Callable[..., None], *args: Any, **kwargs: Any )
aiohttp/helpers.py:647
↓ 4 callers
Function
response_cls
(request: Any)
tests/test_http_parser.py:144
↓ 4 callers
Method
set_parser
( self, parser: WebSocketReader, data_received_cb: Callable[[], None] | None = None,
aiohttp/web_protocol.py:408
↓ 4 callers
Method
shutdown
(self, timeout: float | None = None)
aiohttp/web_server.py:69
↓ 4 callers
Method
start
Start response processing.
aiohttp/client_reqrep.py:547
↓ 4 callers
Method
tell
(self)
tests/test_payload.py:1382
↓ 4 callers
Method
unread_data
(self, data)
tests/test_multipart.py:93
↓ 4 callers
Method
write
Write body.
aiohttp/multipart.py:1137
↓ 4 callers
Method
write_eof
No-op for test writer.
tests/test_payload.py:30
↓ 4 callers
Method
write_with_length
Write bytes payload with a specific content length constraint. Args: writer: An AbstractStreamWriter instance that handl
aiohttp/payload.py:399
↓ 3 callers
Method
__anext__
( self: "WebSocketResponse[Literal[True]]", )
aiohttp/web_ws.py:757
↓ 3 callers
Method
__del__
(self, _warnings: Any = warnings)
aiohttp/client.py:503
↓ 3 callers
Method
__init__
( self, encoding: str | None = None, suppress_deflate_header: bool = False, le
aiohttp/compression_utils.py:194
↓ 3 callers
Method
__init__
(self, url: StrOrURL, description: str | None = None)
aiohttp/client_exceptions.py:304
↓ 3 callers
Method
__init__
( self, connector: "BaseConnector", key: "ConnectionKey", protocol: ResponseHa
aiohttp/connector.py:133
↓ 3 callers
Method
__new__
( cls, login: str, password: str = "", encoding: str = "latin1" )
aiohttp/helpers.py:134
↓ 3 callers
Method
__setitem__
(self, key: AppKey[_T], value: _T)
aiohttp/web_app.py:210
↓ 3 callers
Function
_acquired_connection
( conn: aiohttp.BaseConnector, proto: ResponseHandler, key: ConnectionKey )
tests/test_connector.py:4451
↓ 3 callers
Method
_cancel_heartbeat
(self)
aiohttp/client_ws.py:107
↓ 3 callers
Method
_cancel_pong_response_cb
(self)
aiohttp/client_ws.py:120
↓ 3 callers
Method
_cancel_pong_response_cb
(self)
aiohttp/web_ws.py:150
↓ 3 callers
Method
_cleanup_closed
Double confirmation for transport close. Some broken ssl servers may leave socket open without proper close.
aiohttp/connector.py:459
↓ 3 callers
Method
_close
(self, *, abort_ssl: bool = False)
aiohttp/connector.py:502
↓ 3 callers
Method
_create_direct_connection
( self, req: ClientRequest, traces: list["Trace"], timeout: "ClientTimeout",
aiohttp/connector.py:1547
↓ 3 callers
Method
_delete_cookies
(self, to_del: list[tuple[str, str, str]])
aiohttp/cookiejar.py:359
↓ 3 callers
Method
_get_content_length
Extract and validate Content-Length header value. Returns parsed Content-Length value or None if not set. Raises ValueError if header
aiohttp/client_reqrep.py:933
↓ 3 callers
Method
_get_valid_log_format
(self, source_format: str)
aiohttp/worker.py:246
↓ 3 callers
Method
_pause_msg_queue_reading
(self)
aiohttp/web_protocol.py:477
↓ 3 callers
Function
_quote_path
(value: str)
aiohttp/web_urldispatcher.py:1263
↓ 3 callers
Method
_read_nowait_chunk
(self, n: int)
aiohttp/streams.py:528
↓ 3 callers
Method
_release_connection
(self)
aiohttp/client_reqrep.py:663
↓ 3 callers
Method
_response_eof
(self)
aiohttp/client_reqrep.py:596
↓ 3 callers
Method
_run
(self)
aiohttp/worker.py:80
↓ 3 callers
Function
_safe_header
(string: str)
aiohttp/http_writer.py:356
↓ 3 callers
Method
_set_closed
Set the connection to closed. Cancel any heartbeat timers and set the closed flag.
aiohttp/client_ws.py:225
↓ 3 callers
Method
_write_websocket_frame
Write a websocket frame to the transport. This method handles frame header construction, masking, and writing to transport.
aiohttp/_websocket/writer.py:123
↓ 3 callers
Method
abort
Abort the placeholder (does nothing).
aiohttp/connector.py:250
↓ 3 callers
Method
add_app
(self, app: "Application")
aiohttp/web_urldispatcher.py:275
↓ 3 callers
Method
add_prefix
(self, prefix: str)
aiohttp/web_urldispatcher.py:404
↓ 3 callers
Method
add_put
Shortcut for add_route with method PUT.
aiohttp/web_urldispatcher.py:1227
↓ 3 callers
Method
at_eof
(self)
aiohttp/streams.py:671
↓ 3 callers
Method
at_eof
Returns True if the final boundary was reached, false otherwise.
aiohttp/multipart.py:736
↓ 3 callers
Method
check
(self, transport: asyncio.Transport)
aiohttp/client_reqrep.py:159
↓ 3 callers
Method
clear_dns_cache
Remove specified host/port or clear all dns local cache.
aiohttp/connector.py:1083
↓ 3 callers
Method
close
Close connection. Stop accepting new pipelining messages and close connection when handlers done processing messages.
aiohttp/web_protocol.py:514
↓ 3 callers
Method
close
(self, *, code: int = WSCloseCode.OK, message: bytes = b"")
aiohttp/client_ws.py:321
↓ 3 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:499
↓ 3 callers
Method
close
(self)
tests/test_proxy.py:415
↓ 3 callers
Method
connection_lost
( self, handler: RequestHandler, exc: BaseException | None = None )
aiohttp/web_server.py:44
↓ 3 callers
Method
data_received
(self, data: bytes)
aiohttp/web_protocol.py:425
↓ 3 callers
Method
decode
(self, encoding: str = "utf-8", errors: str = "strict")
tests/test_web_response.py:1475
↓ 3 callers
Method
delete
( self, url: StrOrURL, **kwargs: Unpack[_RequestOptions], )
aiohttp/client.py:1455
↓ 3 callers
Method
drain
(self)
aiohttp/web_response.py:566
↓ 3 callers
Method
exception
(self)
aiohttp/streams.py:185
↓ 3 callers
Method
exception
(self)
aiohttp/web_ws.py:451
↓ 3 callers
Function
fake_addrinfo
(hosts: Collection[str])
tests/test_resolver.py:128
↓ 3 callers
Function
fake_aiodns_getaddrinfo_ipv6_result
( hosts: Collection[str], )
tests/test_resolver.py:112
↓ 3 callers
Method
feed_data
(self, chunk: bytes, size: int)
aiohttp/http_parser.py:1173
↓ 3 callers
Method
feed_eof
(self)
aiohttp/http_parser.py:324
↓ 3 callers
Function
fill_routes
(router)
tests/test_urldispatch.py:48
↓ 3 callers
Function
finalize
()
aiohttp/pytest_plugin.py:316
← previous
next →
301–400 of 5,569, ranked by callers