MCPcopy Create free account

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

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

↓ 5 callersMethodclose
(self)
examples/fake_server.py:42
↓ 5 callersMethodcompress
Compress the data and returned the compressed bytes. Note that flush() must be called after the last call to compress() If the data
aiohttp/compression_utils.py:319
↓ 5 callersFunctiondecode_chunked
(chunked: bytes | bytearray)
tests/test_http_writer.py:70
↓ 5 callersMethoddecompress
(self, data: Buffer, *args: Any, **kwargs: Any)
aiohttp/compression_utils.py:148
↓ 5 callersMethoddecompressobj
(self, *args: Any, **kwargs: Any)
aiohttp/compression_utils.py:142
↓ 5 callersMethoddrain
Flush the write buffer.
aiohttp/abc.py:248
↓ 5 callersFunctionf
(num: int)
tests/test_web_app.py:409
↓ 5 callersMethodforce_close
Forcefully close connection.
aiohttp/web_protocol.py:526
↓ 5 callersMethodform
Like read(), but assumes that body parts contain form urlencoded data.
aiohttp/multipart.py:526
↓ 5 callersMethodfrom_url
Create BasicAuth from url.
aiohttp/helpers.py:185
↓ 5 callersMethodget_charset
Returns charset parameter from Content-Type header or default.
aiohttp/multipart.py:632
↓ 5 callersFunctionget_unused_port_socket
( host: str, family: socket.AddressFamily = socket.AF_INET )
aiohttp/test_utils.py:70
↓ 5 callersMethodis_closing
(self)
tests/test_client_request.py:70
↓ 5 callersFunctionis_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
↓ 5 callersMethodjson
Like read(), but assumes that body parts contains JSON data.
aiohttp/multipart.py:518
↓ 5 callersFunctionparse_http_date
Process a date string, return a datetime object
aiohttp/helpers.py:1017
↓ 5 callersMethodreadexactly
(self, n: int)
aiohttp/streams.py:509
↓ 5 callersMethodreceive
( self: "ClientWebSocketResponse[Literal[True]]", timeout: float | None = None )
aiohttp/client_ws.py:387
↓ 5 callersFunctionrequest
()
tests/test_proxy_functional.py:463
↓ 5 callersMethodresolve
Return MATCH_INFO for given request
aiohttp/abc.py:47
↓ 5 callersMethodresume_writing
(self)
aiohttp/base_protocol.py:58
↓ 5 callersMethodsend_frame
Send a frame over the websocket.
aiohttp/client_ws.py:291
↓ 5 callersMethodshutdown
(self)
aiohttp/web_runner.py:412
↓ 5 callersMethodtell
(self)
tests/test_payload.py:1409
↓ 5 callersMethodtext
Read response payload and decode.
aiohttp/client_reqrep.py:941
↓ 5 callersMethodupdate_cookies
Update request cookies header.
aiohttp/client_reqrep.py:1310
↓ 4 callersFunctionH
(x: str)
tests/test_client_middleware_digest_auth.py:350
↓ 4 callersMethod__init__
( self, line: str | bytes, limit: str | int = "Unknown", actual_size: str = "U
aiohttp/http_exceptions.py:81
↓ 4 callersMethod__init__
( self, location: StrOrURL, *, headers: LooseHeaders | None = None, re
aiohttp/web_exceptions.py:171
↓ 4 callersMethod__init__
(self)
tests/test_payload.py:22
↓ 4 callersMethod_authenticate
Takes the given response and tries digest-auth, if needed. Returns true if the original request must be resent.
aiohttp/client_middleware_digest_auth.py:409
↓ 4 callersMethod_cancel_heartbeat
(self)
aiohttp/web_ws.py:139
↓ 4 callersMethod_cleanup
Cleanup unused transports.
aiohttp/connector.py:426
↓ 4 callersMethod_cleanup_writer
(self)
aiohttp/client_reqrep.py:871
↓ 4 callersFunction_collect_sizes
Collector for on_body_write, recording the payload sizes only.
tests/test_http_writer.py:1706
↓ 4 callersMethod_create_ssl_context
Creates SSLContext instance for usage in asyncio.create_server. See ssl.SSLSocket.__init__ for more details.
aiohttp/worker.py:229
↓ 4 callersFunction_encoded_length
Return the UTF-8 length of text, or None if it can't be encoded.
aiohttp/_cookie_helpers.py:278
↓ 4 callersFunction_fold_cap
The fragment count the reader folds at (single source of truth).
tests/test_websocket_parser.py:1034
↓ 4 callersMethod_get_compressor
Get or create a compressor object for the given compression level.
aiohttp/_websocket/writer.py:181
↓ 4 callersMethod_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 callersMethod_notify_waiter_done
( self, waiter: Optional["asyncio.Future[bool]"] = None )
aiohttp/worker.py:164
↓ 4 callersMethod_read_nowait
Read not more than n bytes, or whole buffer if n == -1
aiohttp/streams.py:570
↓ 4 callersMethod_reschedule_timeout
(self)
aiohttp/client_proto.py:287
↓ 4 callersMethod_start
(self, request: "BaseRequest")
aiohttp/web_response.py:822
↓ 4 callersMethod_update_cookies
( self, cookies: LooseCookies, response_url: URL, *, copy_morsels: boo
aiohttp/cookiejar.py:544
↓ 4 callersMethod_writelines
(self, chunks: Iterable[Buffer])
aiohttp/http_writer.py:106
↓ 4 callersMethodadd_callback
(self, callback: Callable[[], None])
aiohttp/connector.py:188
↓ 4 callersMethodadd_head
Shortcut for add_route with method HEAD.
aiohttp/web_urldispatcher.py:1205
↓ 4 callersMethodas_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:1097
↓ 4 callersFunctionbytes_gen
(size)
tests/test_web_request.py:269
↓ 4 callersMethodclose
(self)
aiohttp/helpers.py:652
↓ 4 callersMethodconnection_made
( self, handler: RequestHandler, transport: asyncio.Transport )
aiohttp/web_server.py:39
↓ 4 callersFunctioncreate_server_for_url_and_handler
(aiohttp_server, tls_certificate_authority)
tests/test_client_functional.py:3781
↓ 4 callersMethoddecode_iter
Async generator that yields decoded data chunks. Decodes data according the specified Content-Encoding or Content-Transfer-Encoding h
aiohttp/multipart.py:575
↓ 4 callersMethoddel_cookie
Delete cookie. Creates new empty expired cookie.
aiohttp/web_response.py:278
↓ 4 callersMethoddrain
Flush the write buffer. The intended use is to write await w.write(data) await w.drain()
aiohttp/http_writer.py:335
↓ 4 callersMethodexception
(self)
aiohttp/streams.py:185
↓ 4 callersFunctionfake_aiodns_getaddrinfo_ipv4_result
( hosts: Collection[str], )
tests/test_resolver.py:106
↓ 4 callersMethodfeed_data
( self, data: bytes, SEP: _SEP = b"\r\n", EMPTY: bytes = b"", CONTENT_
aiohttp/http_parser.py:354
↓ 4 callersMethodforce_close
Ultimately close connection on releasing if True.
aiohttp/connector.py:404
↓ 4 callersFunctiongated_body
()
tests/test_client_functional.py:6465
↓ 4 callersFunctionhandler
(request)
tests/test_web_middleware.py:13
↓ 4 callersMethodis_connected
(self)
aiohttp/client_proto.py:108
↓ 4 callersMethoditer_any
Yield all available data as soon as it is received.
aiohttp/streams.py:164
↓ 4 callersMethoditer_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 callersMethodpause_reading
(self)
aiohttp/http_parser.py:328
↓ 4 callersMethodpost
( self, url: StrOrURL, **kwargs: Unpack[_RequestOptions], )
aiohttp/client.py:1500
↓ 4 callersMethodreadline
Reads body part by line by line.
aiohttp/multipart.py:474
↓ 4 callersMethodregister
( self, callback: Callable[..., None], *args: Any, **kwargs: Any )
aiohttp/helpers.py:647
↓ 4 callersFunctionresponse_cls
(request: Any)
tests/test_http_parser.py:144
↓ 4 callersMethodshutdown
(self, timeout: float | None = None)
aiohttp/web_server.py:69
↓ 4 callersMethodstart
Start response processing.
aiohttp/client_reqrep.py:734
↓ 4 callersMethodunread_data
(self, data)
tests/test_multipart.py:96
↓ 4 callersMethodwrite
Write body.
aiohttp/multipart.py:1170
↓ 4 callersMethodwrite_eof
No-op for test writer.
tests/test_payload.py:30
↓ 4 callersMethodwrite_with_length
Write bytes payload with a specific content length constraint. Args: writer: An AbstractStreamWriter instance that handl
aiohttp/payload.py:399
↓ 3 callersMethod__anext__
( self: "WebSocketResponse[Literal[True]]", )
aiohttp/web_ws.py:772
↓ 3 callersMethod__del__
(self, _warnings: Any = warnings)
aiohttp/client.py:524
↓ 3 callersMethod__init__
( self, encoding: str | None = None, suppress_deflate_header: bool = False, le
aiohttp/compression_utils.py:289
↓ 3 callersMethod__init__
(self, url: StrOrURL, description: str | None = None)
aiohttp/client_exceptions.py:309
↓ 3 callersMethod__init__
( self, connector: "BaseConnector", key: "ConnectionKey", protocol: ResponseHa
aiohttp/connector.py:134
↓ 3 callersMethod__new__
( cls, login: str, password: str = "", encoding: str = "latin1" )
aiohttp/helpers.py:134
↓ 3 callersFunction_acquired_connection
( conn: aiohttp.BaseConnector, proto: ResponseHandler, key: ConnectionKey )
tests/test_connector.py:4506
↓ 3 callersMethod_cancel_heartbeat
(self)
aiohttp/client_ws.py:112
↓ 3 callersMethod_cancel_pong_response_cb
(self)
aiohttp/client_ws.py:125
↓ 3 callersMethod_cancel_pong_response_cb
(self)
aiohttp/web_ws.py:152
↓ 3 callersMethod_cleanup_closed
Double confirmation for transport close. Some broken ssl servers may leave socket open without proper close.
aiohttp/connector.py:467
↓ 3 callersMethod_close
(self, *, abort_ssl: bool = False)
aiohttp/connector.py:510
↓ 3 callersMethod_create_direct_connection
( self, req: ClientRequest, traces: list["Trace"], timeout: "ClientTimeout",
aiohttp/connector.py:1568
↓ 3 callersMethod_drain_tail
(self)
aiohttp/client_proto.py:204
↓ 3 callersMethod_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:1123
↓ 3 callersMethod_get_valid_log_format
(self, source_format: str)
aiohttp/worker.py:246
↓ 3 callersFunction_parsed_header_name
(loop: asyncio.AbstractEventLoop, name: str)
tests/test_http_parser.py:326
↓ 3 callersFunction_quote_path
(value: str)
aiohttp/web_urldispatcher.py:1272
↓ 3 callersFunction_raw_get
(path: str)
tests/test_web_websocket_functional.py:229
↓ 3 callersMethod_read_nowait_chunk
(self, n: int)
aiohttp/streams.py:539
↓ 3 callersMethod_refresh_flushed
(self)
aiohttp/client_reqrep.py:330
↓ 3 callersMethod_release_connection
(self)
aiohttp/client_reqrep.py:850
↓ 3 callersMethod_response_eof
(self)
aiohttp/client_reqrep.py:783
↓ 3 callersMethod_run
(self)
aiohttp/worker.py:80
← previousnext →301–400 of 5,960, ranked by callers