MCPcopy Create free account

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

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

↓ 18 callersMethodclear
(self, predicate: ClearCookiePredicate | None = None)
aiohttp/cookiejar.py:277
↓ 18 callersMethoddecompress
(self, data: Buffer, *args: Any, **kwargs: Any)
aiohttp/compression_utils.py:133
↓ 18 callersFunctionhandler
(request: web.Request)
tests/test_client_middleware.py:36
↓ 18 callersMethodis_ssl
(self)
aiohttp/client_reqrep.py:962
↓ 18 callersMethodreadline
(self, *, max_line_length: int | None = None)
tests/test_multipart.py:90
↓ 18 callersMethodwrite
(self, data: bytes | bytearray | memoryview)
aiohttp/web_response.py:554
↓ 17 callersMethod_resolve_host
Resolve host and return list of addresses.
aiohttp/connector.py:1092
↓ 17 callersFunctionbuild_frame
( message, opcode, use_mask=False, noheader=False, is_fin=True, ZLibBackend=None )
tests/test_websocket_parser.py:49
↓ 17 callersMethodclone
( self, *, method: str | _SENTINEL = sentinel, rel_url: StrOrURL | _SENTINEL =
aiohttp/web_request.py:895
↓ 17 callersMethodclose
(self)
aiohttp/resolver.py:220
↓ 17 callersFunctionset_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 callersFunctionaiohttp_raw_server
Factory to create a RawTestServer instance, given a web handler. aiohttp_raw_server(handler, **kwargs)
aiohttp/pytest_plugin.py:334
↓ 16 callersFunctionmake_conn
()
tests/test_connector.py:233
↓ 16 callersMethodset_status
( self, status: int, reason: str | None = None, )
aiohttp/web_response.py:149
↓ 16 callersMethodtrace_config_ctx
Return a new trace_config_ctx instance
aiohttp/tracing.py:88
↓ 15 callersFunctioncontent_disposition_filename
( params: Mapping[str, str], name: str = "filename" )
aiohttp/multipart.py:185
↓ 14 callersMethod_handle_frame
( fin: bool, opcode: int, payload: bytes | bytearray, compress
tests/test_websocket_parser.py:35
↓ 14 callersMethodend_http_chunk_receiving
(self)
aiohttp/streams.py:312
↓ 14 callersMethodparse_frame
( self, data: bytes )
tests/test_websocket_parser.py:29
↓ 14 callersMethodreadany
(self)
aiohttp/streams.py:452
↓ 14 callersFunctionrun_url_dispatcher_benchmark
()
tests/test_benchmarks_web_urldispatcher.py:76
↓ 14 callersMethodstart
(self)
aiohttp/web_runner.py:133
↓ 13 callersMethod__init__
(self, domain: str)
aiohttp/web_urldispatcher.py:801
↓ 13 callersMethod_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 callersFunction_mock_request
(method: str, path: str)
tests/test_benchmarks_web_urldispatcher.py:41
↓ 13 callersMethod_release
( self, key: "ConnectionKey", protocol: ResponseHandler, *, should_clo
aiohttp/connector.py:805
↓ 13 callersMethodclose
(self)
aiohttp/connector.py:198
↓ 13 callersMethodconnection_made
(self, transport)
tests/test_client_functional.py:4145
↓ 13 callersMethodenable_compression
Enables response compression encoding.
aiohttp/web_response.py:194
↓ 13 callersFunctiongen
()
tests/test_payload.py:163
↓ 13 callersFunctiongen_ws_headers
( protocols="", compress=0, extension_text="", server_notakeover=False, client_notakeover=
tests/test_websocket_handshake.py:12
↓ 13 callersMethodhead
( self, url: StrOrURL, **kwargs: Unpack[_RequestOptions], )
aiohttp/client.py:1431
↓ 13 callersMethodreaduntil
( self, separator: bytes = b"\n", *, max_size: int | None = None )
aiohttp/streams.py:372
↓ 13 callersMethodrequest_reply_with_same_url
(self, url)
tests/test_cookiejar.py:439
↓ 13 callersMethodset_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 callersMethodset_response_params
( self, *, timer: BaseTimerContext | None = None, skip_payload: bool = False,
aiohttp/client_proto.py:228
↓ 12 callersFunction_merge_ssl_params
( ssl: Union["SSLContext", bool, Fingerprint], verify_ssl: bool | None, ssl_context: Optional["SSL
aiohttp/client_reqrep.py:176
↓ 12 callersFunction_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 callersMethodadd_resource
(self, path: str, *, name: str | None = None)
aiohttp/web_urldispatcher.py:1134
↓ 12 callersMethodbegin_http_chunk_receiving
(self)
aiohttp/streams.py:304
↓ 12 callersMethodconnection_made
(self, transport: asyncio.BaseTransport)
aiohttp/base_protocol.py:106
↓ 12 callersMethodfreeze
(self)
aiohttp/tracing.py:92
↓ 12 callersFunctionhandler
(request)
tests/test_web_log.py:291
↓ 12 callersFunctionmake_runner
(loop: Any, app: Any)
tests/test_web_runner.py:19
↓ 12 callersMethodnext
Emits the next multipart body part.
aiohttp/multipart.py:740
↓ 12 callersMethodping
(self, message: bytes = b"")
aiohttp/web_ws.py:454
↓ 12 callersMethodresolve
( self, host: str, port: int = 0, family: socket.AddressFamily = socket.AF_INET )
aiohttp/resolver.py:130
↓ 12 callersMethodsave
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 callersMethodsend_json
( self, data: Any, compress: int | None = None, *, dumps: JSONEncoder
aiohttp/web_ws.py:489
↓ 12 callersMethodwrite_eof
(self, data: bytes = b"")
aiohttp/web_response.py:800
↓ 11 callersMethod_create_connection
( self, req: ClientRequest, traces: list["Trace"], timeout: "ClientTimeout" )
tests/test_client_middleware.py:880
↓ 11 callersMethodcall
(self, request, handler: Handler)
tests/test_web_middleware.py:509
↓ 11 callersMethodclose
(self)
aiohttp/client_reqrep.py:613
↓ 11 callersMethodcompressobj
(self, *args: Any, **kwargs: Any)
aiohttp/compression_utils.py:124
↓ 11 callersMethoddebug
(self)
aiohttp/web_app.py:325
↓ 11 callersMethoddecode
Decodes data synchronously. Decodes data according the specified Content-Encoding or Content-Transfer-Encoding headers value.
aiohttp/multipart.py:537
↓ 11 callersMethodprepare
(self, request: "BaseRequest")
aiohttp/web_fileresponse.py:256
↓ 11 callersFunctionset_result
(fut: "asyncio.Future[_T]", result: _T)
aiohttp/helpers.py:831
↓ 11 callersMethodstop
(self, request: web.Request)
tests/test_run_app.py:1003
↓ 10 callersMethod__init__
( self, value: Any, headers: ( _CIMultiDict | dict[str, str] | Iterable[tu
aiohttp/payload.py:147
↓ 10 callersMethod_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 callersMethod_handshake
( self, request: BaseRequest )
aiohttp/web_ws.py:278
↓ 10 callersMethodadd_done_callback
Dummy method.
tests/test_client_request.py:40
↓ 10 callersMethodappend_json
Helper to append JSON part.
aiohttp/multipart.py:1044
↓ 10 callersMethoddata_received
(self, data: bytes)
aiohttp/client_proto.py:300
↓ 10 callersMethodenable_compression
Compression not implemented for test writer.
tests/test_payload.py:36
↓ 10 callersMethodread
Read response payload.
aiohttp/client_reqrep.py:711
↓ 10 callersMethodstart
(self)
aiohttp/web_runner.py:253
↓ 10 callersMethodstart_server
(self)
aiohttp/test_utils.py:311
↓ 10 callersMethodstartup
Causes on_startup signal Should be called in the event loop along with the request handler.
aiohttp/web_app.py:457
↓ 10 callersMethodwrite
Write payload to the writer stream. Args: writer: An AbstractStreamWriter instance that handles the actual writing
aiohttp/payload.py:254
↓ 10 callersMethodwrite_with_length
Write async iterable payload with a specific content length constraint. Args: writer: An AbstractStreamWriter instance t
aiohttp/payload.py:1032
↓ 9 callersFunction_create_example_app
()
tests/test_test_utils.py:37
↓ 9 callersMethod_drop_timeout
(self)
aiohttp/client_proto.py:266
↓ 9 callersMethod_request
( self, method: str, str_or_url: StrOrURL, *, params: Query = None,
aiohttp/client.py:537
↓ 9 callersMethod_set_or_restore_start_position
Set or restore the start position of the file-like object.
aiohttp/payload.py:474
↓ 9 callersMethodat_eof
(self)
tests/test_multipart.py:87
↓ 9 callersFunctioncb
(app: web.Application)
tests/test_web_app.py:187
↓ 9 callersMethodclose
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 callersMethodenable_chunked_encoding
Enables automatic chunked transfer encoding.
aiohttp/web_response.py:184
↓ 9 callersMethodfreeze
Freeze router.
aiohttp/abc.py:42
↓ 9 callersMethodget
(self, key: AppKey[_T], default: _S)
aiohttp/helpers.py:958
↓ 9 callersMethodlog
(self, request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:212
↓ 9 callersMethodnext_addrs
(self, key: tuple[str, int])
aiohttp/connector.py:876
↓ 9 callersMethodpause_writing
(self)
aiohttp/base_protocol.py:52
↓ 9 callersMethodput
( self, url: StrOrURL, **kwargs: Unpack[_RequestOptions], )
aiohttp/client.py:1443
↓ 9 callersMethodreadchunk
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 callersMethodreceive_bytes
(self, *, timeout: float | None = None)
aiohttp/web_ws.py:709
↓ 9 callersMethodremove
(self, key: tuple[str, int])
aiohttp/connector.py:868
↓ 9 callersMethodroute
(self, method: str, path: str, **kwargs: Any)
aiohttp/web_routedef.py:171
↓ 9 callersMethodset_content_disposition
Sets ``Content-Disposition`` header.
aiohttp/payload.py:233
↓ 9 callersMethodupdate_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 callersMethodwrite_eof
(self, data: bytes = b"")
aiohttp/web_response.py:576
↓ 9 callersMethodwrite_with_length
Write BytesIO payload with a specific content length constraint. Args: writer: An AbstractStreamWriter instance that han
aiohttp/payload.py:869
↓ 8 callersMethod_drain_helper
(self)
aiohttp/base_protocol.py:131
↓ 8 callersMethod_release_acquired
Release acquired connection.
aiohttp/connector.py:792
↓ 8 callersMethod_request
( self, method: str, path: StrOrURL, **kwargs: Any )
aiohttp/test_utils.py:344
↓ 8 callersMethodas_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 callersFunctionceil_timeout
( delay: float | None, ceil_threshold: float = 5 )
aiohttp/helpers.py:770
↓ 8 callersMethoddecompress_sync
( self, data: Buffer, max_length: int = ZLIB_MAX_LENGTH_UNLIMITED )
aiohttp/compression_utils.py:283
← previousnext →101–200 of 5,569, ranked by callers