MCPcopy Create free account

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

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

↓ 8 callersFunctiondns_response
(loop)
tests/test_connector.py:1287
↓ 8 callersFunctiondumps
(obj)
tests/test_client_functional.py:2311
↓ 8 callersMethodfeed_eof
(self)
aiohttp/http_parser.py:1207
↓ 8 callersFunctiongen
()
tests/test_client_request.py:1117
↓ 8 callersFunctionheaders_echo_client
Create a client with an app that echoes request headers as JSON.
tests/test_client_functional.py:99
↓ 8 callersMethodpong
(self, message: bytes = b"")
aiohttp/web_ws.py:459
↓ 8 callersMethodreceive_json
( self: "WebSocketResponse[Literal[True]]", *, loads: JSONDecoder = ..., timeo
aiohttp/web_ws.py:718
↓ 8 callersMethodresolve
( self, host: str, port: int = 0, family: socket.AddressFamily = socket.AF_INET )
aiohttp/resolver.py:43
↓ 8 callersMethodresources
(self)
aiohttp/web_urldispatcher.py:1062
↓ 8 callersMethodresume_reading
(self, resume_parser: bool = True)
aiohttp/base_protocol.py:84
↓ 8 callersFunctionroute
(method: str, path: str, handler: _HandlerType, **kwargs: Any)
aiohttp/web_routedef.py:92
↓ 8 callersMethodsend_frame
Send a frame over the websocket with message as its payload.
aiohttp/_websocket/writer.py:73
↓ 8 callersMethodterminate
(self)
aiohttp/client_reqrep.py:1542
↓ 8 callersMethodwrite_bytes
Write the request body to the connection stream. This method handles writing different types of request bodies: 1. Payload o
aiohttp/client_reqrep.py:1348
↓ 7 callersMethod_get
Get next reusable connection for the key or None. The connection will be marked as acquired.
aiohttp/connector.py:724
↓ 7 callersMethod_release_waiter
Iterates over all waiters until one to be released is found. The one to be released is not finished and belongs to a host th
aiohttp/connector.py:766
↓ 7 callersMethodadd_route
( self, method: str, path: str, handler: Handler | type[AbstractView],
aiohttp/web_urldispatcher.py:1150
↓ 7 callersMethodconnection_lost
(self, exc: BaseException | None)
aiohttp/base_protocol.py:111
↓ 7 callersMethoddrain
No-op for test writer.
tests/test_payload.py:33
↓ 7 callersMethodfeed_eof
(self)
aiohttp/http_parser.py:910
↓ 7 callersMethodfilter_cookies
(self, request_url: URL)
tests/test_client_session.py:773
↓ 7 callersMethodget_encoding
(self)
aiohttp/client_reqrep.py:731
↓ 7 callersFunctionhandler
(request)
examples/lowlevel_srv.py:6
↓ 7 callersMethoditer_chunked
Returns an asynchronous iterator that yields chunks of size n.
aiohttp/streams.py:159
↓ 7 callersMethodjson
Read and decodes JSON response.
aiohttp/client_reqrep.py:764
↓ 7 callersMethodnext
(self)
aiohttp/multipart.py:322
↓ 7 callersMethodon_eof
(self, callback: Callable[[], None])
aiohttp/streams.py:206
↓ 7 callersMethodset_eof
Indicate that the message is complete.
aiohttp/http_writer.py:233
↓ 7 callersFunctiontcp_nodelay
(transport: asyncio.Transport, value: bool)
aiohttp/tcp_helpers.py:24
↓ 7 callersMethodupdate_cookies
(self, cookies: Any, response_url: URL = URL())
tests/test_client_session.py:770
↓ 7 callersMethodwait_for_close
(self)
aiohttp/client_reqrep.py:698
↓ 7 callersMethodwrite_with_length
Write payload with a specific content length constraint. Args: writer: An AbstractStreamWriter instance that handles the
aiohttp/payload.py:275
↓ 7 callersMethodwrite_with_length
Write file-like payload with a specific content length constraint. Args: writer: An AbstractStreamWriter instance that h
aiohttp/payload.py:582
↓ 6 callersMethod_available_connections
Return number of available connections. The limit, limit_per_host and the connection key are taken into account. If it retu
aiohttp/connector.py:572
↓ 6 callersMethod_make_handler
( self, *, loop: asyncio.AbstractEventLoop | None = None, access_log_class: ty
aiohttp/web_app.py:409
↓ 6 callersMethod_set_loop
(self, loop: asyncio.AbstractEventLoop | None)
aiohttp/web_app.py:261
↓ 6 callersMethodappend_payload
Adds a new body part to multipart writer.
aiohttp/multipart.py:1006
↓ 6 callersMethodcan_prepare
(self, request: BaseRequest)
aiohttp/web_ws.py:408
↓ 6 callersFunctioncli
(loop, aiohttp_client)
tests/test_web_middleware.py:153
↓ 6 callersMethodconnection_lost
(self, exc: BaseException | None)
aiohttp/client_proto.py:109
↓ 6 callersFunctioncreate_stream
()
tests/test_streams.py:25
↓ 6 callersFunctiondecompress
(data: bytes)
tests/test_http_writer.py:65
↓ 6 callersMethoddecompressobj
(self, *args: Any, **kwargs: Any)
aiohttp/compression_utils.py:127
↓ 6 callersMethodexpired
(self, key: tuple[str, int])
aiohttp/connector.py:884
↓ 6 callersFunctionf
()
tests/test_connector.py:3153
↓ 6 callersFunctionjson_response
( data: Any = sentinel, *, text: str | None = None, body: bytes | None = None, status: int
aiohttp/web_response.py:859
↓ 6 callersFunctionloop_context
A contextmanager that creates an event_loop, for test purposes. Handles the creation and cleanup of a test loop.
aiohttp/test_utils.py:620
↓ 6 callersFunctionparse_mimetype
Parses a MIME type into its components. mimetype is a MIME type string. Returns a MimeType object. Example: >>> parse_mimetype('te
aiohttp/helpers.py:347
↓ 6 callersMethodpause_reading
(self)
aiohttp/http_parser.py:315
↓ 6 callersMethodraise_for_status
Should `ClientResponse.raise_for_status()` be called for each response.
aiohttp/client.py:1610
↓ 6 callersMethodraise_for_status
(self)
aiohttp/client_reqrep.py:645
↓ 6 callersMethodread
(self, n: int = -1)
aiohttp/streams.py:411
↓ 6 callersMethodread_nowait
(self, n: int = -1)
aiohttp/streams.py:513
↓ 6 callersMethodrelease
(self)
aiohttp/client_reqrep.py:626
↓ 6 callersMethodrelease
Like read(), but reads all the data to the void.
aiohttp/multipart.py:479
↓ 6 callersMethodresolve
(self, request: Request)
aiohttp/web_urldispatcher.py:370
↓ 6 callersMethodsend_headers
Force sending buffered headers if not already sent.
aiohttp/http_writer.py:218
↓ 6 callersMethodsend_json_bytes
Send JSON data using a bytes-returning encoder as a binary frame. Use this when your JSON encoder (like orjson) returns bytes instead
aiohttp/web_ws.py:498
↓ 6 callersMethodstart_timeout
(self)
aiohttp/client_proto.py:283
↓ 6 callersMethodtext
Like read(), but assumes that body part contains text data.
aiohttp/multipart.py:486
↓ 6 callersMethodtimeout
Timeout for the session.
aiohttp/client.py:1580
↓ 6 callersFunctionunused_port
Return a port that is unused on the current host.
aiohttp/test_utils.py:89
↓ 6 callersMethodupdate_body_from_data
Update request body from data.
aiohttp/client_reqrep.py:1193
↓ 5 callersMethod__init__
( self, runner: "BaseRunner", host: str | None = None, port: int | None = None
aiohttp/web_runner.py:87
↓ 5 callersFunction_basic_auth_no_warn
Construct a BasicAuth without emitting the deprecation warning. For internal use only. Bypasses BasicAuth.__new__ so that aiohttp's own machi
aiohttp/helpers.py:200
↓ 5 callersMethod_get_part_reader
Dispatches the response by the `Content-Type` header. Returns a suitable reader instance. :param dict headers: Response headers
aiohttp/multipart.py:790
↓ 5 callersMethod_match
(self, path: str)
aiohttp/web_urldispatcher.py:378
↓ 5 callersMethod_prepare_headers
Add default headers and transform it to CIMultiDict
aiohttp/client.py:1388
↓ 5 callersMethod_wait
(self, func_name: str)
aiohttp/streams.py:348
↓ 5 callersMethod_write
(self, chunk: Buffer)
aiohttp/http_writer.py:96
↓ 5 callersMethodappend_form
Helper to append form urlencoded part.
aiohttp/multipart.py:1053
↓ 5 callersFunctionbuild_close_frame
(code=1000, message=b"", noheader=False)
tests/test_websocket_parser.py:98
↓ 5 callersFunctioncalculate_timeout_when
Calculate when to execute a timeout.
aiohttp/helpers.py:617
↓ 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:224
↓ 5 callersFunctiondecode_chunked
(chunked: bytes | bytearray)
tests/test_http_writer.py:70
↓ 5 callersMethoddrain
Flush the write buffer.
aiohttp/abc.py:227
↓ 5 callersFunctionf
(num: int)
tests/test_web_app.py:409
↓ 5 callersMethodforce_close
Forcefully close connection.
aiohttp/web_protocol.py:524
↓ 5 callersMethodform
Like read(), but assumes that body parts contain form urlencoded data.
aiohttp/multipart.py:502
↓ 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:608
↓ 5 callersFunctionget_unused_port_socket
( host: str, family: socket.AddressFamily = socket.AF_INET )
aiohttp/test_utils.py:70
↓ 5 callersMethodjson
Like read(), but assumes that body parts contains JSON data.
aiohttp/multipart.py:494
↓ 5 callersFunctionparse_http_date
Process a date string, return a datetime object
aiohttp/helpers.py:1017
↓ 5 callersFunctionpreserve_morsel_with_coded_value
Preserve a Morsel's coded_value exactly as received from the server. This function ensures that cookie encoding is preserved exactly as sent
aiohttp/_cookie_helpers.py:85
↓ 5 callersMethodreadexactly
(self, n: int)
aiohttp/streams.py:498
↓ 5 callersMethodreceive
( self: "ClientWebSocketResponse[Literal[True]]", timeout: float | None = None )
aiohttp/client_ws.py:371
↓ 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:56
↓ 5 callersMethodsend_frame
Send a frame over the websocket.
aiohttp/client_ws.py:280
↓ 5 callersMethodshutdown
(self)
aiohttp/web_runner.py:412
↓ 5 callersMethodtext
Read response payload and decode.
aiohttp/client_reqrep.py:754
↓ 5 callersMethodupdate_cookies
Update request cookies header.
aiohttp/client_reqrep.py:1120
↓ 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
← previousnext →201–300 of 5,569, ranked by callers