MCPcopy Create free account

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

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

↓ 1 callersMethod__init__
(self, coro: Callable[..., Awaitable[None]])
aiohttp/payload_streamer.py:52
↓ 1 callersMethod__init__
(self, name: str, t: type[_T] | None = None)
aiohttp/helpers.py:884
↓ 1 callersMethod__init__
( self, app: Application, *, scheme: str = "", host: str = "127.0.0.1"
aiohttp/test_utils.py:229
↓ 1 callersMethod__init__
( self, *, logger: logging.Logger = web_logger, router: UrlDispatcher | None =
aiohttp/web_app.py:113
↓ 1 callersMethod__init__
(self, loop: asyncio.AbstractEventLoop)
aiohttp/streams.py:669
↓ 1 callersMethod__init__
(self)
tests/test_web_response.py:1342
↓ 1 callersMethod__init__
(self, port: int)
tests/test_client_functional.py:5924
↓ 1 callersMethod__init__
(self, content)
tests/test_multipart.py:83
↓ 1 callersMethod__init__
(self)
tests/test_client_session.py:741
↓ 1 callersMethod__repr__
(self)
aiohttp/web_urldispatcher.py:952
↓ 1 callersMethod__reset_writer
(self, _: object = None)
aiohttp/client_reqrep.py:526
↓ 1 callersFunction_accept_ws
Complete a raw WebSocket handshake; the caller writes the frames.
tests/test_client_ws_functional.py:65
↓ 1 callersMethod_align_base64_chunk
(self, chunk: bytes, size: int)
aiohttp/multipart.py:390
↓ 1 callersFunction_apply_cookie_attributes
Set the recognized attributes from the text after the cookie-pair. The field must already be free of control characters other than tab.
aiohttp/_cookie_helpers.py:288
↓ 1 callersFunction_assert_consistent
Check the jar's bookkeeping against the cookies it stores.
tests/test_cookiejar.py:2106
↓ 1 callersMethod_bind
(self)
aiohttp/client_reqrep.py:354
↓ 1 callersMethod_can_send
Return whether the cookie can be written to a Cookie header.
aiohttp/cookiejar.py:815
↓ 1 callersMethod_cancel
(self, exc: BaseException)
aiohttp/web_ws.py:792
↓ 1 callersFunction_cancel_tasks
( to_cancel: set["asyncio.Task[Any]"], loop: asyncio.AbstractEventLoop )
aiohttp/web.py:420
↓ 1 callersFunction_check_request_resolves
(request: Request, path: str)
aiohttp/web_middlewares.py:21
↓ 1 callersMethod_check_site
(self, site: BaseSite)
aiohttp/web_runner.py:356
↓ 1 callersMethod_cleanup_server
(self)
aiohttp/web_runner.py:348
↓ 1 callersMethod_close
Async safe synchronous close operations for backwards compatibility. This method exists only for backwards compatibility. Us
aiohttp/payload.py:667
↓ 1 callersMethod_convert_hosts_to_addr_infos
Converts the list of hosts to a list of addr_infos. The list of hosts is the result of a DNS lookup. The list of addr_infos is the re
aiohttp/connector.py:1547
↓ 1 callersFunction_create_app_mock
()
aiohttp/test_utils.py:659
↓ 1 callersFunction_create_con
(*args: Any, **kwargs: Any)
tests/test_connector.py:3355
↓ 1 callersMethod_create_proxy_connection
( self, req: ClientRequest, traces: list["Trace"], timeout: "ClientTimeout" )
aiohttp/connector.py:1643
↓ 1 callersFunction_create_transport
(sslcontext: SSLContext | None = None)
aiohttp/test_utils.py:677
↓ 1 callersMethod_decode_content
(self, data: _Buffer)
aiohttp/multipart.py:591
↓ 1 callersMethod_decode_content_async
( self, data: _Buffer )
aiohttp/multipart.py:603
↓ 1 callersMethod_decode_content_transfer
(self, data: _Buffer)
aiohttp/multipart.py:620
↓ 1 callersMethod_directory_as_html
returns directory's index as html.
aiohttp/web_urldispatcher.py:703
↓ 1 callersFunction_discover_path_importables
Yield all importables under a given path and package.
tests/test_circular_imports.py:63
↓ 1 callersMethod_do_start_compression
(self, coding: ContentCoding)
aiohttp/web_response.py:434
↓ 1 callersMethod_drain_helper
Swallow drain.
tests/test_benchmarks_client_request.py:153
↓ 1 callersMethod_encode_credentials
Encode username and password to base64.
examples/basic_auth_middleware.py:39
↓ 1 callersMethod_encode_credentials
Encode username and password to base64.
examples/combined_middleware.py:74
↓ 1 callersMethod_etag_match
(etag_value: str, etags: tuple[ETag, ...], *, weak: bool)
aiohttp/web_fileresponse.py:156
↓ 1 callersMethod_etag_values
Extract `ETag` objects from raw header.
aiohttp/web_request.py:604
↓ 1 callersMethod_expire_cookie
(self, when: float, domain: str, path: str, name: str)
aiohttp/cookiejar.py:513
↓ 1 callersMethod_fail_on_no_start_tls
Raise a :py:exc:`RuntimeError` on missing ``start_tls()``. It is necessary for TLS-in-TLS so that it is possible to send HTTPS querie
aiohttp/connector.py:1369
↓ 1 callersFunction_failed_proto
An upgraded protocol whose reader has reported a protocol error.
tests/test_client_proto.py:403
↓ 1 callersMethod_filter_cookies_within_limits
Admit the most specific cookies first so a host's own cookies win.
aiohttp/cookiejar.py:786
↓ 1 callersMethod_finish
(self)
aiohttp/web_request.py:945
↓ 1 callersFunction_fix_request_current_app
(app: "Application")
aiohttp/web_middlewares.py:110
↓ 1 callersMethod_flush_heartbeat_reset
(self)
aiohttp/client_ws.py:140
↓ 1 callersMethod_flush_heartbeat_reset
(self)
aiohttp/web_ws.py:167
↓ 1 callersMethod_format_line
( self, request: BaseRequest, response: StreamResponse, time: float )
aiohttp/web_log.py:201
↓ 1 callersMethod_gen_form_data
Encode a list of fields using the multipart/form-data MIME format
aiohttp/formdata.py:145
↓ 1 callersMethod_gen_form_urlencoded
(self)
aiohttp/formdata.py:127
↓ 1 callersMethod_get_boundary
(self)
aiohttp/multipart.py:860
↓ 1 callersMethod_get_file_hash
(byte_array: bytes)
aiohttp/web_urldispatcher.py:611
↓ 1 callersMethod_get_file_path_stat_encoding
( self, accept_encoding: str )
aiohttp/web_fileresponse.py:237
↓ 1 callersMethod_get_local_time
(cls)
aiohttp/web_log.py:151
↓ 1 callersMethod_handle_frame
( self, fin: bool, opcode: int | cython_int, # Union intended: Cython pxd uses C int
aiohttp/_websocket/reader_py.py:241
↓ 1 callersMethod_handle_request
( self, request: BaseRequest, start_time: float | None, request_handler: Calla
aiohttp/web_protocol.py:567
↓ 1 callersFunction_has_authority
Tell if an absolute-form request target has "//" and a non-empty authority. RFC 9110 section 4.2 requires a host for http and https. yarl's defau
aiohttp/http_parser.py:92
↓ 1 callersFunction_has_no_authority
Tell if a URL with a scheme has no "//" after the scheme. Browsers read a backslash like a slash there for http and https.
aiohttp/client.py:186
↓ 1 callersMethod_init
(self)
aiohttp/resolver.py:248
↓ 1 callersFunction_ipaddress_accepts_ipv4
Oracle: does the stdlib accept ``host`` as a canonical IPv4 address?
tests/test_helpers.py:388
↓ 1 callersMethod_is_chunked_te
(self, te: str)
aiohttp/http_parser.py:326
↓ 1 callersFunction_is_expected_content_type
( response_content_type: str, expected_content_type: str )
aiohttp/client_reqrep.py:254
↓ 1 callersFunction_is_supported_upgrade
Check if the upgrade header is supported.
aiohttp/http_parser.py:266
↓ 1 callersMethod_iter
(self)
aiohttp/web_urldispatcher.py:957
↓ 1 callersFunction_jar_with_raw_cookie
(value: str)
tests/test_cookiejar.py:2524
↓ 1 callersMethod_load_json_data
Replace contents, routing cookies through _update_cookies().
aiohttp/cookiejar.py:300
↓ 1 callersMethod_loop_supports_start_tls
(self)
aiohttp/connector.py:1404
↓ 1 callersMethod_make_error_handler
( self, err_info: _ErrInfo )
aiohttp/web_protocol.py:912
↓ 1 callersFunction_make_reader
(loop: asyncio.AbstractEventLoop)
tests/test_benchmarks_http_websocket.py:27
↓ 1 callersMethod_make_room
Evict for a new cookie like Firefox; False drops the new cookie. Mirrors AddCookie and FindStaleCookies: expired, then non-secure, co
aiohttp/cookiejar.py:459
↓ 1 callersMethod_make_runner
(self, **kwargs: Any)
aiohttp/test_utils.py:155
↓ 1 callersMethod_make_server
(self)
aiohttp/web_runner.py:344
↓ 1 callersFunction_make_ssl_context
Create SSL context. This method is not async-friendly and should be called from a thread because it will load certificates from disk and do o
aiohttp/connector.py:901
↓ 1 callersFunction_masked_text_frame
Build a client text frame; frames sent to a server must be masked.
tests/test_web_websocket_functional.py:244
↓ 1 callersMethod_maybe_release_last_part
Ensures that the last read body part is read completely.
aiohttp/multipart.py:923
↓ 1 callersMethod_morsel_entry
Build the morsel to send with its length in the Cookie header.
aiohttp/cookiejar.py:822
↓ 1 callersMethod_new_decompressor
Return a decompressor for the next member.
aiohttp/compression_utils.py:238
↓ 1 callersMethod_not_modified
( self, request: "BaseRequest", etag_value: str, last_modified: float )
aiohttp/web_fileresponse.py:163
↓ 1 callersMethod_on_cleanup
(self, app: Application)
aiohttp/web_app.py:603
↓ 1 callersMethod_parse_date
Implements date string parsing adhering to RFC 6265.
aiohttp/cookiejar.py:872
↓ 1 callersFunction_parse_quoted_pair
Parse a first pair whose quoted value contains ";". aiohttp has always accepted these. Returns the name, the quoted value and where the attri
aiohttp/_cookie_helpers.py:346
↓ 1 callersFunction_part
(body: bytes, loop: asyncio.AbstractEventLoop)
tests/test_benchmarks_multipart.py:36
↓ 1 callersFunction_passthrough_loop_context
Passthrough loop context. Sets up and tears down a loop unless one is passed in via the loop argument when it's passed straight through.
aiohttp/pytest_plugin.py:175
↓ 1 callersFunction_patch_ssl_transport
(monkeypatch)
tests/test_proxy_functional.py:716
↓ 1 callersMethod_ping_task_done
Callback for when the ping task completes.
aiohttp/client_ws.py:212
↓ 1 callersMethod_ping_task_done
Callback for when the ping task completes.
aiohttp/web_ws.py:240
↓ 1 callersMethod_post_start
( self, request: BaseRequest, protocol: str | None, writer: WebSocketWriter )
aiohttp/web_ws.py:392
↓ 1 callersMethod_pre_start
(self, request: BaseRequest)
aiohttp/web_ws.py:370
↓ 1 callersMethod_precondition_failed
( self, request: "BaseRequest" )
aiohttp/web_fileresponse.py:174
↓ 1 callersMethod_prepare_headers
(self)
aiohttp/web_response.py:476
↓ 1 callersMethod_prepare_hook
(self, response: StreamResponse)
aiohttp/web_request.py:1023
↓ 1 callersMethod_prepare_middleware
(self)
aiohttp/web_app.py:507
↓ 1 callersMethod_prepare_open_file
( self, request: "BaseRequest", fobj: io.BufferedReader, st: os.stat_result,
aiohttp/web_fileresponse.py:301
↓ 1 callersMethod_process_keepalive
(self)
aiohttp/web_protocol.py:550
↓ 1 callersMethod_process_token_refresh
Process the token refresh request.
examples/token_refresh_middleware.py:139
↓ 1 callersMethod_purge_cookies
Evict expired, then least recently used, cookies down to the total.
aiohttp/cookiejar.py:500
↓ 1 callersMethod_raise_allowed_methods
(self)
aiohttp/web_urldispatcher.py:971
↓ 1 callersMethod_read_all
Read the entire file-like object and return its content as bytes.
aiohttp/payload.py:707
↓ 1 callersMethod_read_boundary
(self)
aiohttp/multipart.py:886
↓ 1 callersMethod_read_chunk_from_length
(self, size: int)
aiohttp/multipart.py:419
← previousnext →601–700 of 5,960, ranked by callers