MCPcopy Create free account

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

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

Functionretry_middleware
( request: ClientRequest, handler: ClientHandlerType )
tests/test_client_middleware.py:74
Functionretry_middleware
( req: ClientRequest, handler: ClientHandlerType )
docs/code/client_middleware_cookbook.py:25
Functionretry_mw
( req: aiohttp.ClientRequest, handler_: aiohttp.ClientHandlerType )
tests/test_client_functional.py:6802
Functionroot
(request)
examples/web_cookies.py:19
Functionroot_handler
(request)
tests/test_client_session.py:1016
Methodroute
(self)
aiohttp/web_urldispatcher.py:258
Functionrouter
(app)
tests/test_urldispatch.py:43
Functionrouter
()
tests/test_route_def.py:11
Methodrouter
(self)
aiohttp/web_app.py:405
Methodrun_test
(app: web.Application)
tests/test_run_app.py:1063
Functionsave
(request)
tests/test_web_exceptions.py:251
Methodscheme
A string representing the scheme of the request. Hostname is resolved in this order: - overridden value by .clone(scheme=new_scheme)
aiohttp/web_request.py:454
Functionsecond_handler
(request: web.Request)
tests/test_web_websocket_functional.py:53
Methodsecure
A bool indicating if the request is handled with SSL.
aiohttp/web_request.py:388
Functionsecure_proxy_url
Return the URL of an instance of a running secure proxy. This fixture also spawns that instance and tears it down after the test.
tests/test_proxy_functional.py:44
Functionselector_loop
()
tests/conftest.py:283
Methodsend_dns_cache_hit
(self, *args, **kwargs)
tests/test_connector.py:4280
Methodsend_dns_cache_miss
(self, *args: object, **kwargs: object)
tests/test_connector.py:4346
Methodsend_dns_resolvehost_end
Dummy send_dns_resolvehost_end
tests/test_connector.py:4341
Methodsend_dns_resolvehost_start
Dummy send_dns_resolvehost_start
tests/test_connector.py:4336
Methodsend_json
( self, data: Any, compress: int | None = None, *, dumps: JSONEncoder
aiohttp/client_ws.py:309
Methodsend_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/client_ws.py:318
Functionsendfile
(transport, fobj, offset, count)
tests/test_web_sendfile_functional.py:63
Functionserve
(reader: asyncio.StreamReader, writer: asyncio.StreamWriter)
tests/test_client_ws_functional.py:50
Functionserve
(request: web.BaseRequest)
tests/test_web_request_handler.py:6
Functionserver
()
tests/test_http_parser.py:68
Methodserver
(self)
aiohttp/web_runner.py:280
Methodserver
(self)
aiohttp/test_utils.py:323
Functionsession
()
tests/test_client_response.py:35
Functionsession
(create_session, loop)
tests/test_client_session.py:62
Methodsession
Return the ClientSession instance. This property provides access to the ClientSession that initiated this request, allowing middlewar
aiohttp/client_reqrep.py:1232
Methodsession
An internal aiohttp.ClientSession. Unlike the methods on the TestClient, client session requests do not automatically include the hos
aiohttp/test_utils.py:331
Functionsession_middleware
( request: ClientRequest, handler: ClientHandlerType )
tests/test_client_middleware.py:105
MethodsetUp
(self)
tests/test_proxy.py:35
MethodsetUp
(self)
tests/test_cookiejar.py:511
Functionset_dict
(app: Any, key: str, value: Any)
aiohttp/test_utils.py:663
Methodset_err
()
tests/test_streams.py:712
Methodset_err
()
tests/test_streams.py:1315
Methodset_exception
( self, exc: BaseException, exc_cause: BaseException = _EXC_SENTINEL, )
aiohttp/http_parser.py:1224
Functionset_handler
(request: web.Request)
tests/test_client_functional.py:3020
Methodset_parser
( self, parser: Any, payload: Any, data_received_cb: Callable[[], None] | None
aiohttp/client_proto.py:226
Methodset_read_chunk_size
(self, n: int)
aiohttp/streams.py:635
Functionsetstate
(self: Morsel[str], state: dict[str, str])
tests/test_cookie_helpers.py:252
Methodshould_close
(self)
aiohttp/client_proto.py:76
Functionshow
(request)
tests/test_web_exceptions.py:255
Methodshutdown
(self)
aiohttp/web_runner.py:377
Methodshutdown
Do worker process exit preparations. We need to clean up everything and stop accepting requests. It is especially important for keep-
aiohttp/web_protocol.py:307
Functionside_effect
(*args, **kwargs)
tests/test_client_response.py:257
Functionsimple
(request)
examples/web_srv_route_deco.py:29
Functionsimple
(request)
examples/web_srv_route_table.py:25
Functionsimple
(request)
examples/web_srv.py:25
Functionsingle_middleware_handler
(req: ClientRequest)
aiohttp/client_middlewares.py:35
Methodsites
(self)
aiohttp/web_runner.py:296
Methodsize
Size of the payload in bytes. Returns the number of bytes that will be transmitted when the payload is written. For string payloads,
aiohttp/payload.py:179
Methodsize
Size of the payload in bytes. Returns the total size of the payload content from the initial position. This ensures consiste
aiohttp/payload.py:537
Methodsize
Size of the payload in bytes. Returns the number of bytes in the BytesIO buffer that will be transmitted. This is calculated once dur
aiohttp/payload.py:854
Methodsize
Size of the payload.
aiohttp/multipart.py:1108
Methodskip_auto_headers
Headers for which autogeneration should be skipped
aiohttp/client.py:1653
Methodskip_auto_headers
(self)
aiohttp/client_reqrep.py:1138
Functionslow_executor
Executor that adds delay to simulate slow operations. Useful for testing cancellation and race conditions in compression tests.
tests/conftest.py:445
Methodslow_fn
(*args: Any, **kwargs: Any)
tests/conftest.py:457
Functionslow_handler
(request: web.Request)
tests/test_web_functional.py:1749
Functionsock_connect
(*args, **kwargs)
tests/test_connector.py:964
Methodsockname
Return sockname if available.
aiohttp/web_protocol.py:293
Functionsource_handler
(request: Request)
tests/test_client_middleware_digest_auth.py:1281
Functionspy
(self: ResponseHandler)
tests/test_client_ws_functional.py:1937
Functionsrv
(request: web.Request)
tests/test_client_functional.py:3725
Functionsrv_from
(request)
tests/test_client_functional.py:3819
Functionsrv_to
(request)
tests/test_client_functional.py:3824
Methodssl
(self)
aiohttp/client_reqrep.py:1156
Methodssl
(self)
aiohttp/client_exceptions.py:200
Methodssl
(self)
aiohttp/client_exceptions.py:419
Methodssl_context
Return SSLContext if available.
aiohttp/web_protocol.py:273
Functionssl_ctx
(tls_certificate)
tests/conftest.py:132
Functionssl_key
()
tests/test_connector.py:66
Functionssrf_middleware
( req: ClientRequest, handler: ClientHandlerType )
docs/code/client_middleware_cookbook.py:121
Functionstall
(reader: asyncio.StreamReader, writer: asyncio.StreamWriter)
tests/test_client_functional.py:5888
Methodstart
(self)
aiohttp/web_runner.py:73
Functionstart_connection
(*args, **kwargs)
tests/test_connector.py:802
Functionstart_connection
()
tests/conftest.py:368
Methodstart_timeout
Swallow start_timeout.
tests/test_benchmarks_client_request.py:156
Methodstarted
(self)
aiohttp/test_utils.py:168
Functionstatic
(prefix: str, path: PathLike, **kwargs: Any)
aiohttp/web_routedef.py:139
Methodstatus
(self)
aiohttp/web_response.py:134
Methodstatus
(self)
aiohttp/web_urldispatcher.py:945
Functionstream
(loop, protocol)
tests/test_flowcontrol_streams.py:17
Functionstream
(buf: bytearray)
tests/test_multipart.py:45
Functionstream
()
tests/test_http_parser.py:150
Functionstream2
(buf2: bytearray)
tests/test_multipart.py:61
Functionstream_handler
(request: web.Request)
tests/isolated/check_for_client_response_leak.py:15
Functionstreaming_handler
(request: web.Request)
tests/test_client_functional.py:775
Functionsub_handler
(request)
tests/test_web_middleware.py:107
Functionsub_handler
(request: web.Request)
tests/test_web_app.py:657
Functionsubapp_handler
(request: web.Request)
tests/test_web_urldispatcher.py:1018
Functionsuccess_ctx
(app: web.Application)
tests/test_web_app.py:490
Functionsync_handler
Doc
tests/test_web_urldispatcher.py:406
Functiontarget
()
tests/test_loop.py:51
Functiontarget_handler
(request: Request)
tests/test_client_middleware_digest_auth.py:1266
Methodtask
(self)
aiohttp/web_request.py:306
Methodtask
(self)
aiohttp/web_response.py:127
← previousnext →2,201–2,300 of 5,960, ranked by callers