MCPcopy Create free account

hub / github.com/aio-libs/aiohttp / functions

Functions5,960 in github.com/aio-libs/aiohttp

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
Functionacquire
(cb)
tests/test_web_response.py:62
Methodadd_done_callback
(self, cb: Callable[[], None])
tests/test_client_response.py:27
Methodadd_options
Shortcut for add_route with method OPTIONS.
aiohttp/web_urldispatcher.py:1209
Methodadd_prefix
Add a prefix to processed URLs. Required for subapplications support.
aiohttp/web_urldispatcher.py:139
Methodadd_prefix
(self, prefix: str)
aiohttp/web_urldispatcher.py:475
Methodadd_prefix
(self, prefix: str)
aiohttp/web_urldispatcher.py:517
Methodadd_prefix
(self, prefix: str)
aiohttp/web_urldispatcher.py:746
Methodadd_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
Methodaddresses
(self)
aiohttp/web_runner.py:284
Functionafter_handler
(request: web.Request)
tests/test_web_functional.py:2135
Functionaiohttp_client_api_context_manager
(aiohttp_server)
tests/test_web_functional.py:2780
Functionaiohttp_client_close_handshake
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:950
Functionaiohttp_client_ping
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:819
Functionaiohttp_unused_port
Return a port that is unused on the current host.
aiohttp/pytest_plugin.py:289
Functionanchor_handler
(request: Request)
tests/test_client_middleware_digest_auth.py:1356
Functionany_handler
(request: web.Request)
tests/test_web_middleware.py:527
Functionapi_logging_middleware
( req: ClientRequest, handler: ClientHandlerType )
docs/code/client_middleware_cookbook.py:35
Functionapp
()
tests/test_urldispatch.py:38
Functionapp
(loop)
tests/test_web_websocket.py:30
← previousnext →1,401–1,500 of 5,960, ranked by callers