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
Method
_create_connection
Create connection. Has same keyword arguments as BaseEventLoop.create_connection.
aiohttp/connector.py:1253
Method
_create_connection
( self, req: ClientRequest, traces: list["Trace"], timeout: "ClientTimeout" )
aiohttp/connector.py:1793
Method
_create_connection
( self, req: ClientRequest, traces: list["Trace"], timeout: "ClientTimeout" )
aiohttp/connector.py:1862
Function
_default_expect_handler
Default handler for Expect header. Just send "100 Continue" to client. raise HTTPExpectationFailed if value of header is not "100-continue"
aiohttp/web_urldispatcher.py:321
Method
_do_start_compression
(self, coding: ContentCoding)
aiohttp/web_response.py:840
Method
_drain_helper
Swallow drain.
tests/test_benchmarks_http_websocket.py:127
Function
_find_all_importables
Find all importables in the project. Return them in order.
tests/test_circular_imports.py:49
Method
_format_D
(request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:198
Method
_format_P
(request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:172
Method
_format_T
(request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:190
Method
_format_Tf
(request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:194
Method
_format_a
(request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:144
Method
_format_b
(request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:186
Method
_format_i
( key: str, request: BaseRequest, response: StreamResponse, time: float )
aiohttp/web_log.py:127
Method
_format_o
( key: str, request: BaseRequest, response: StreamResponse, time: float )
aiohttp/web_log.py:137
Method
_format_r
(request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:176
Method
_format_s
(request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:182
Method
_format_t
(request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:166
Function
_gen_ids
(parsers: list[Any])
tests/test_http_parser.py:86
Method
_get_netrc_auth
Get auth from netrc for the given host. This method is designed to be called in an executor to avoid blocking I/O in the eve
aiohttp/client.py:1467
Method
_handle
(self, request: Request)
aiohttp/web_app.py:521
Method
_handle
(self, request: Request)
aiohttp/web_urldispatcher.py:656
Method
_handle
(self, request: Request)
aiohttp/web_urldispatcher.py:941
Method
_is_chunked_te
(self, te: str)
aiohttp/http_parser.py:799
Method
_is_chunked_te
(self, te: str)
aiohttp/http_parser.py:889
Method
_make_request
( self, message: RawRequestMessage, payload: StreamReader, protocol: RequestHa
aiohttp/web_server.py:55
Method
_make_request
( self, message: RawRequestMessage, payload: StreamReader, protocol: RequestHa
aiohttp/web_app.py:485
Method
_make_response
Return the response result, io object, stat result, and encoding. If an uncompressed file is returned, the encoding is set to :py:dat
aiohttp/web_fileresponse.py:181
Method
_make_runner
(self, **kwargs: Any)
aiohttp/test_utils.py:241
Method
_make_runner
(self, debug: bool = True, **kwargs: Any)
aiohttp/test_utils.py:258
Method
_make_server
(self)
aiohttp/web_runner.py:380
Method
_make_server
(self)
aiohttp/web_runner.py:415
Function
_make_ssl_transport_dummy
( self, rawsock, protocol, sslcontext, waiter=None, **kwargs )
tests/test_proxy_functional.py:718
Function
_mark_aiohttp_worker_for_skipping
( importables: list[str], )
tests/test_circular_imports.py:31
Method
_match
(self, path: str)
aiohttp/web_urldispatcher.py:411
Method
_match
(self, path: str)
aiohttp/web_urldispatcher.py:482
Function
_mock_setstate
(self: Morsel[str], state: dict[str, str])
tests/test_cookie_helpers.py:2006
Function
_mock_write_bytes
( writer: AbstractStreamWriter, conn: mock.Mock, content_length: int | None )
tests/test_client_request.py:1141
Method
_morsel_entry
( self, jar_key: _JarKey, name: str, cookie: Morsel[str] )
aiohttp/cookiejar.py:940
Function
_multipart_form
(count: int)
tests/test_web_functional.py:2295
Method
_on_chunk_request_sent
(self, method: str, url: URL, chunk: bytes)
aiohttp/client_reqrep.py:1773
Method
_on_headers_request_sent
( self, method: str, url: URL, headers: "CIMultiDict[str]" )
aiohttp/client_reqrep.py:1777
Method
_on_read_timeout
(self)
aiohttp/client_proto.py:310
Method
_on_startup
(self, app: Application)
aiohttp/web_app.py:593
Method
_pong_not_received
(self)
aiohttp/client_ws.py:218
Method
_pong_not_received
(self)
aiohttp/web_ws.py:246
Method
_prepare_hook
(self, response: StreamResponse)
aiohttp/web_request.py:939
Function
_proto_factory
(conn_closing_result=None, **kwargs)
tests/conftest.py:273
Function
_py_serialize_headers
(status_line: str, headers: "CIMultiDict[str]")
aiohttp/http_writer.py:362
Function
_raise_graceful_exit
()
aiohttp/web_runner.py:41
Method
_read
Read a chunk of data from the file-like object. Args: remaining_content_len: Optional maximum number of bytes to read.
aiohttp/payload.py:518
Method
_read
Read a chunk of data from the text file-like object. Args: remaining_content_len: Optional maximum number of bytes to re
aiohttp/payload.py:792
Method
_read_and_available_len
Read the file-like object and return both its total size and the first chunk. Args: remaining_content_len: Optional limi
aiohttp/payload.py:488
Method
_read_and_available_len
Read the text file-like object and return both its total size and the first chunk. Args: remaining_content_len: Optional
aiohttp/payload.py:757
Method
_read_and_encode
()
aiohttp/payload.py:835
Function
_request
(method="GET", *, url, trust_env=False, **kwargs)
tests/test_proxy_functional.py:317
Function
_resolve_host
(host, port, traces=None)
tests/test_connector.py:784
Method
_resolve_host
( self, host: str, port: int, traces: Sequence[Trace] | None = None )
docs/code/client_middleware_cookbook.py:136
Method
_resolve_path_to_response
Take the unresolved path and query the file system to form a response.
aiohttp/web_urldispatcher.py:668
Method
_resolve_with_query
( self, host: str, port: int = 0, family: int = socket.AF_INET )
aiohttp/resolver.py:191
Function
_run
()
tests/test_benchmarks_web_fileresponse.py:42
Function
_run
()
tests/test_benchmarks_web_request.py:47
Function
_run
()
tests/test_benchmarks_cookie_helpers.py:27
Function
_run
()
tests/test_benchmarks_client_request.py:40
Function
_run
()
tests/test_benchmarks_http_writer.py:39
Function
_run
()
tests/test_benchmarks_client_ws.py:46
Function
_run
()
tests/test_benchmarks_client.py:40
Function
_run
()
tests/test_benchmarks_web_response.py:23
Function
_run
()
tests/test_benchmarks_multipart.py:69
Function
_run
()
tests/test_benchmarks_web_middleware.py:50
Function
_run
()
tests/test_benchmarks_cookiejar.py:30
Function
_run
()
tests/test_benchmarks_web_urldispatcher.py:89
Function
_run
()
tests/test_benchmarks_client_response.py:38
Function
_run
()
tests/test_benchmarks_http_websocket.py:64
Method
_seek_and_read
(self, fobj: IO[Any], offset: int, chunk_size: int)
aiohttp/web_fileresponse.py:108
Function
_strip_server
(req, res)
tests/test_web_response.py:1660
Function
_unquote_replace
Replace function for _unquote_sub regex substitution. Handles escaped characters in cookie values: - Octal sequences are converted to th
aiohttp/_cookie_helpers.py:138
Function
_weakref_handle
(info: "tuple[weakref.ref[object], str]")
aiohttp/helpers.py:580
Function
_websocket_mask_python
Websocket masking function. `mask` is a `bytes` object of length 4; `data` is a `bytearray` object of any length. The contents of `data` are
aiohttp/_websocket/helpers.py:31
Method
_writer
The writer task for streaming data. _writer is only provided for backwards compatibility for subclasses that may need to access it.
aiohttp/client_reqrep.py:535
Method
_writer
(self)
aiohttp/client_reqrep.py:1142
Function
acquire
(cb)
tests/test_web_response.py:62
Method
add_done_callback
(self, cb: Callable[[], None])
tests/test_client_response.py:27
Method
add_options
Shortcut for add_route with method OPTIONS.
aiohttp/web_urldispatcher.py:1209
Method
add_prefix
Add a prefix to processed URLs. Required for subapplications support.
aiohttp/web_urldispatcher.py:139
Method
add_prefix
(self, prefix: str)
aiohttp/web_urldispatcher.py:475
Method
add_prefix
(self, prefix: str)
aiohttp/web_urldispatcher.py:517
Method
add_prefix
(self, prefix: str)
aiohttp/web_urldispatcher.py:746
Method
add_routes
Append routes to route table. Parameter should be a sequence of RouteDef objects. Returns a list of registered AbstractRoute instanc
aiohttp/web_urldispatcher.py:1259
Method
addresses
(self)
aiohttp/web_runner.py:284
Function
after_handler
(request: web.Request)
tests/test_web_functional.py:2135
Function
aiohttp_client_api_context_manager
(aiohttp_server)
tests/test_web_functional.py:2780
Function
aiohttp_client_close_handshake
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:950
Function
aiohttp_client_ping
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:819
Function
aiohttp_unused_port
Return a port that is unused on the current host.
aiohttp/pytest_plugin.py:289
Function
anchor_handler
(request: Request)
tests/test_client_middleware_digest_auth.py:1356
Function
any_handler
(request: web.Request)
tests/test_web_middleware.py:527
Function
api_logging_middleware
( req: ClientRequest, handler: ClientHandlerType )
docs/code/client_middleware_cookbook.py:35
Function
app
()
tests/test_urldispatch.py:38
Function
app
(loop)
tests/test_web_websocket.py:30
← previous
next →
1,401–1,500 of 5,960, ranked by callers