MCPcopy Create free account

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

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

↓ 2 callersFunctionget_test_results
(path: Path, name: str)
tests/autobahn/test_autobahn.py:47
↓ 2 callersMethodhandle_error
Handle errors. Returns HTTP response with specific status code. Logs additional information. It always closes current connection.
aiohttp/web_protocol.py:804
↓ 2 callersMethodindex_resource
Add a resource to the resource index.
aiohttp/web_urldispatcher.py:1121
↓ 2 callersFunctionis_token
(string: str)
aiohttp/multipart.py:79
↓ 2 callersMethodlog_debug
(self, *args: Any, **kw: Any)
aiohttp/web_protocol.py:541
↓ 2 callersFunctionmake_middleware
(num)
tests/test_web_middleware.py:71
↓ 2 callersMethodmatch_domain
(self, host: str)
aiohttp/web_urldispatcher.py:831
↓ 2 callersMethodnamed_resources
(self)
aiohttp/web_urldispatcher.py:1068
↓ 2 callersFunctionnetrc_from_env
Load netrc from file. Attempt to load it from the path specified by the env-var NETRC or in the default location in the user's home directory
aiohttp/helpers.py:220
↓ 2 callersFunctionnew_dummy_form
()
tests/test_web_functional.py:59
↓ 2 callersMethodnow
(cls, tz: datetime.tzinfo | None = None)
tests/test_web_log.py:90
↓ 2 callersMethodon_eof
(self, callback: Callable[[], None])
aiohttp/streams.py:603
↓ 2 callersMethodoptions
( self, url: StrOrURL, **kwargs: Unpack[_RequestOptions], )
aiohttp/client.py:1425
↓ 2 callersMethodparse_message
(self, lines: list[bytes])
aiohttp/http_parser.py:310
↓ 2 callersMethodpause_reading
(self)
aiohttp/base_protocol.py:66
↓ 2 callersMethodpre_freeze
(self)
aiohttp/web_app.py:283
↓ 2 callersFunctionprocess_xfail
( results: tuple[Result, ...], xfail: dict[str, str] )
tests/autobahn/test_autobahn.py:54
↓ 2 callersFunctionraw_get
(path: str)
tests/test_web_functional.py:1757
↓ 2 callersMethodraw_match
(self, path: str)
aiohttp/web_urldispatcher.py:416
↓ 2 callersMethodread
Read request body if present. Returns bytes object with full request content.
aiohttp/web_request.py:689
↓ 2 callersMethodregister
( self, factory: PayloadType, type: Any, *, order: Order = Order.normal )
aiohttp/payload.py:122
↓ 2 callersMethodrelease
Release the connection gracefully. All remaining content is read to the void.
aiohttp/multipart.py:264
↓ 2 callersFunctionrequest_cls
(request: Any)
tests/test_http_parser.py:117
↓ 2 callersMethodsend_dns_resolvehost_end
(self, host: str)
aiohttp/tracing.py:431
↓ 2 callersMethodsend_dns_resolvehost_start
(self, host: str)
aiohttp/tracing.py:426
↓ 2 callersMethodsend_headers
Force sending buffered headers if not already sent. Required only if write_headers() buffers headers instead of sending immediately.
aiohttp/abc.py:246
↓ 2 callersMethodset_options_route
(self, handler: Handler)
aiohttp/web_urldispatcher.py:623
↓ 2 callersFunctionsetup_test_loop
Create and return an asyncio.BaseEventLoop instance. The caller should also call teardown_test_loop, once they are done with the loop.
aiohttp/test_utils.py:632
↓ 2 callersMethodshutdown
Causes on_shutdown signal Should be called before cleanup()
aiohttp/web_app.py:464
↓ 2 callersFunctionskip_if_on_windows
()
tests/test_run_app.py:61
↓ 2 callersMethodstart
(self)
aiohttp/web_runner.py:178
↓ 2 callersMethodstart
(self)
aiohttp/web_runner.py:211
↓ 2 callersMethodstatic
(self, prefix: str, path: PathLike, **kwargs: Any)
aiohttp/web_routedef.py:202
↓ 2 callersFunctionstrip_auth_from_url
Remove user and password from URL if present and return BasicAuth object.
aiohttp/helpers.py:211
↓ 2 callersFunctionteardown_test_loop
Teardown and cleanup an event_loop created by setup_test_loop.
aiohttp/test_utils.py:645
↓ 2 callersFunctiontest_get_route
(loop, test_client)
tests/test_test_utils.py:161
↓ 2 callersFunctionthrow_exc
()
tests/test_client_request.py:1207
↓ 2 callersMethodtimed_request
(self, url, update_time, send_time)
tests/test_cookiejar.py:499
↓ 2 callersFunctionunescape_quotes
Unescape backslashes and double quotes in HTTP quoted-strings.
aiohttp/client_middleware_digest_auth.py:109
↓ 2 callersMethodupdate_transfer_encoding
Analyze transfer-encoding header.
aiohttp/client_reqrep.py:1162
↓ 2 callersMethodverify_bearer_token
Verify bearer token and return user data if valid.
examples/token_refresh_middleware.py:191
↓ 2 callersMethodview
(self, path: str, **kwargs: Any)
aiohttp/web_routedef.py:199
↓ 2 callersFunctionwait
()
tests/test_base_protocol.py:202
↓ 2 callersMethodwait_eof
(self)
aiohttp/streams.py:247
↓ 2 callersMethodwrite_eof
(self)
aiohttp/web_ws.py:512
↓ 2 callersFunctionws_ext_gen
( compress: int = 15, isserver: bool = False, server_notakeover: bool = False )
aiohttp/_websocket/helpers.py:129
↓ 2 callersFunctionws_ext_parse
(extstr: str | None, isserver: bool = False)
aiohttp/_websocket/helpers.py:78
↓ 1 callersMethod__aiter__
(self)
aiohttp/streams.py:716
↓ 1 callersMethod__await__
(self)
aiohttp/client.py:1685
↓ 1 callersMethod__init__
( self, *, unsafe: bool = False, quote_cookie: bool = True, treat_as_s
aiohttp/cookiejar.py:122
↓ 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:112
↓ 1 callersMethod__init__
(self, loop: asyncio.AbstractEventLoop)
aiohttp/streams.py:658
↓ 1 callersMethod__init__
(self)
tests/test_web_response.py:1342
↓ 1 callersMethod__init__
(self, port: int)
tests/test_client_functional.py:5597
↓ 1 callersMethod__init__
(self, content)
tests/test_multipart.py:81
↓ 1 callersMethod__init__
(self)
tests/test_client_session.py:741
↓ 1 callersMethod__repr__
(self)
aiohttp/web_urldispatcher.py:943
↓ 1 callersMethod__reset_writer
(self, _: object = None)
aiohttp/client_reqrep.py:355
↓ 1 callersMethod_build_morsel
Build a morsel for sending, respecting quote_cookie setting.
aiohttp/cookiejar.py:536
↓ 1 callersMethod_cancel
(self, exc: BaseException)
aiohttp/web_ws.py:777
↓ 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:1526
↓ 1 callersFunction_create_app_mock
()
aiohttp/test_utils.py:659
↓ 1 callersFunction_create_con
(*args: Any, **kwargs: Any)
tests/test_connector.py:3300
↓ 1 callersMethod_create_proxy_connection
( self, req: ClientRequest, traces: list["Trace"], timeout: "ClientTimeout" )
aiohttp/connector.py:1622
↓ 1 callersFunction_create_transport
(sslcontext: SSLContext | None = None)
aiohttp/test_utils.py:677
↓ 1 callersMethod_decode_content
(self, data: _Buffer)
aiohttp/multipart.py:567
↓ 1 callersMethod_decode_content_async
( self, data: _Buffer )
aiohttp/multipart.py:579
↓ 1 callersMethod_decode_content_transfer
(self, data: _Buffer)
aiohttp/multipart.py:596
↓ 1 callersMethod_directory_as_html
returns directory's index as html.
aiohttp/web_urldispatcher.py:702
↓ 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:552
↓ 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:1348
↓ 1 callersMethod_feed_data
Return the next frame from the socket.
aiohttp/_websocket/reader_py.py:326
↓ 1 callersMethod_finish
(self)
aiohttp/web_request.py:864
↓ 1 callersFunction_fix_request_current_app
(app: "Application")
aiohttp/web_middlewares.py:110
↓ 1 callersMethod_flush_heartbeat_reset
(self)
aiohttp/client_ws.py:135
↓ 1 callersMethod_flush_heartbeat_reset
(self)
aiohttp/web_ws.py:165
↓ 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:832
↓ 1 callersMethod_get_file_hash
(byte_array: bytes)
aiohttp/web_urldispatcher.py:610
↓ 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_c.py:189
↓ 1 callersMethod_handle_frame
( self, fin: bool, opcode: int | cython_int, # Union intended: Cython pxd uses C int
aiohttp/_websocket/reader_py.py:189
↓ 1 callersMethod_handle_request
( self, request: BaseRequest, start_time: float | None, request_handler: Calla
aiohttp/web_protocol.py:565
← previousnext →501–600 of 5,569, ranked by callers