MCPcopy Create free account

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

Functions3,741 in github.com/aio-libs/aiohttp

↓ 339 callersFunctionaiohttp_client
Factory to create a TestClient instance. aiohttp_client(app, **kwargs) aiohttp_client(server, **kwargs) aiohttp_client(raw_server, **kwar
aiohttp/pytest_plugin.py:286
↓ 232 callersMethodget
(self)
tests/test_classbasedview.py:19
↓ 184 callersMethodclose
(self)
tests/test_client_functional.py:2381
↓ 182 callersMethodadd_route
(self, method: str, handler: Union[Type[AbstractView], _WebHandler], *, ex
aiohttp/web_urldispatcher.py:282
↓ 177 callersMethodappend
( self, obj: Any, headers: Optional[MultiMapping[str]]=None )
aiohttp/multipart.py:842
↓ 166 callersMethodadd_get
Shortcut for add_route with method GET, if allow_head is true another route is added allowing head requests to the same endpoint
aiohttp/web_urldispatcher.py:1060
↓ 156 callersFunctionmake_mocked_request
Creates mocked web.Request testing purposes. Useful in unit tests, when spinning full web server is overkill or specific conditions and error
aiohttp/test_utils.py:558
↓ 143 callersMethodfeed_data
(self, data: _T, size: int=0)
aiohttp/streams.py:557
↓ 123 callersMethodread
(self, size=None)
tests/test_multipart.py:65
↓ 93 callersFunctionparse_content_disposition
(header: Optional[str])
aiohttp/multipart.py:64
↓ 89 callersMethodws_connect
Initiate websocket connection.
aiohttp/client.py:591
↓ 86 callersMethodpost
(self)
tests/test_web_urldispatcher.py:340
↓ 80 callersMethodpatch
Perform HTTP PATCH request.
aiohttp/client.py:864
↓ 76 callersFunctionmake_handler
()
tests/test_urldispatch.py:28
↓ 73 callersMethodadd_post
Shortcut for add_route with method POST
aiohttp/web_urldispatcher.py:1072
↓ 73 callersMethodtext
(self)
aiohttp/web_response.py:587
↓ 72 callersMethodget
Perform HTTP GET request.
aiohttp/client.py:824
↓ 68 callersFunctionmake_request
(loop)
tests/test_client_request.py:22
↓ 67 callersMethodencode
Encode credentials.
aiohttp/helpers.py:173
↓ 64 callersFunctionmake_mocked_coro
Creates a coroutine mock.
aiohttp/test_utils.py:635
↓ 57 callersMethodreceive
(self, timeout: Optional[float]=None)
aiohttp/web_ws.py:364
↓ 55 callersMethod_make_one
(self, *args, **kwargs)
tests/test_streams.py:74
↓ 55 callersMethodclose
Close underlying connector. Release all acquired resources.
aiohttp/client.py:878
↓ 48 callersMethodresolve
(self, host, port=0, family=socket.AF_INET)
tests/test_web_functional.py:1799
↓ 46 callersMethodadd
(self, key: Tuple[str, int], addrs: List[Dict[str, Any]])
aiohttp/connector.py:643
↓ 42 callersMethoddecode
Create a BasicAuth object from an Authorization HTTP header.
aiohttp/helpers.py:135
↓ 41 callersFunctioncreate_mocked_conn
(conn_closing_result=None, **kwargs)
tests/test_connector.py:81
↓ 41 callersMethodrelease
(self)
aiohttp/connector.py:148
↓ 40 callersMethodprepare
(self, request: BaseRequest)
aiohttp/web_ws.py:120
↓ 40 callersMethodset_exception
(self, exc: BaseException)
aiohttp/streams.py:548
↓ 40 callersMethodurl_for
(self, *args: str, **kwargs: str)
aiohttp/web_urldispatcher.py:842
↓ 39 callersMethodfeed_eof
(self)
aiohttp/streams.py:566
↓ 39 callersMethodwrite
(self, writer)
tests/test_payload.py:18
↓ 38 callersMethodadd_static
Add static files view. prefix - url prefix path - folder with files
aiohttp/web_urldispatcher.py:1021
↓ 38 callersFunctionaiohttp_server
Factory to create a TestServer instance, given an app. aiohttp_server(app, **kwargs)
aiohttp/pytest_plugin.py:240
↓ 38 callersMethodcancel
Cancel all waiters
aiohttp/locks.py:41
↓ 38 callersMethodsend_str
(self, data: str, compress: Optional[bool]=None)
aiohttp/web_ws.py:280
↓ 37 callersMethodclose
Close all opened transports.
aiohttp/connector.py:359
↓ 37 callersFunctionmake_request
(method, path, headers=CIMultiDict(), version=HttpVersion11, on_response_prepare=None, **kwar
tests/test_web_response.py:18
↓ 35 callersMethodclose
(self, *, code: int=1000, message: bytes=b'')
aiohttp/web_ws.py:309
↓ 35 callersMethodexception
(self)
aiohttp/streams.py:545
↓ 35 callersMethodprepare
( self, request: 'BaseRequest' )
aiohttp/web_response.py:331
↓ 34 callersMethodadd_routes
(self, routes: Iterable[AbstractRouteDef])
aiohttp/web_app.py:253
↓ 34 callersMethodadd_subapp
(self, prefix: str, subapp: 'Application')
aiohttp/web_app.py:217
↓ 34 callersMethodmake_url
(self, path: str)
aiohttp/test_utils.py:272
↓ 32 callersMethodclose
(self)
aiohttp/client_reqrep.py:593
↓ 32 callersMethodconnect
Get from pool or create new connection.
aiohttp/connector.py:453
↓ 31 callersMethodsend
(self, conn: 'Connection')
aiohttp/client_reqrep.py:524
↓ 28 callersMethodsend
Sends data to all registered receivers.
aiohttp/signals.py:26
↓ 27 callersMethoddata_received
(self, data)
tests/test_client_functional.py:2711
↓ 26 callersFunctionproxy_test_server
Handle all proxy requests and imitate remote server response.
tests/test_proxy_functional.py:14
↓ 25 callersMethodsend_bytes
(self, data: bytes, compress: Optional[bool]=None)
aiohttp/web_ws.py:287
↓ 24 callersMethodis_eof
(self)
aiohttp/streams.py:539
↓ 24 callersFunctionmake_request
(app, protocol)
tests/test_web_websocket.py:32
↓ 24 callersFunctionstopper
(loop)
tests/test_run_app.py:81
↓ 22 callersMethodconnection_made
(self, transport)
tests/test_client_functional.py:2707
↓ 22 callersMethodmatch
(self, request: Request)
aiohttp/web_urldispatcher.py:750
↓ 21 callersFunctionget_request
(loop)
tests/test_proxy_functional.py:64
↓ 21 callersMethodread
Reads body part data. decode: Decodes data following by encoding method from Content-Encoding header. If it missed
aiohttp/multipart.py:283
↓ 21 callersMethodroutes
(self)
aiohttp/web_urldispatcher.py:963
↓ 20 callersMethodadd_field
(self, name: str, value: Any, *, content_type: Optional[str]=None, filenam
aiohttp/formdata.py:38
↓ 20 callersMethodjson
Return BODY as JSON.
aiohttp/web_request.py:572
↓ 18 callersMethodat_eof
Returns True if the boundary was reached or False otherwise.
aiohttp/multipart.py:464
↓ 18 callersFunctioncreate_session
(loop)
tests/test_client_session.py:35
↓ 17 callersMethodcleanup
Causes on_cleanup signal Should be called after shutdown()
aiohttp/web_app.py:298
↓ 17 callersMethodreadline
(self)
tests/test_multipart.py:71
↓ 17 callersMethodrequest
Request instance.
aiohttp/abc.py:111
↓ 16 callersMethodfreeze
Freeze router.
aiohttp/abc.py:50
↓ 16 callersFunctionmake_srv
(loop, manager)
tests/test_web_protocol.py:17
↓ 16 callersMethodread
(self)
aiohttp/streams.py:574
↓ 16 callersMethodupdate_cookies
Update cookies.
aiohttp/cookiejar.py:116
↓ 16 callersMethodwrite
(self, data: bytes)
aiohttp/web_response.py:402
↓ 15 callersMethod_feed_data
(self, data: bytes)
aiohttp/http_websocket.py:273
↓ 15 callersMethodfeed_eof
(self)
aiohttp/streams.py:170
↓ 15 callersMethodfreeze
(self)
aiohttp/web_app.py:186
↓ 15 callersMethodget_extra_info
extra info from connection transport
aiohttp/client_ws.py:133
↓ 15 callersMethodis_ssl
(self)
aiohttp/client_reqrep.py:249
↓ 15 callersMethodprepare
(data)
tests/test_multipart.py:177
↓ 15 callersMethodread_chunk
Reads body part content chunk of the specified size. size: chunk size
aiohttp/multipart.py:299
↓ 15 callersMethodremove
(self, key: Tuple[str, int])
aiohttp/connector.py:649
↓ 14 callersMethodclear
(self)
aiohttp/cookiejar.py:71
↓ 14 callersMethodclone
(self, *, method: str=sentinel, rel_url: StrOrURL=sentinel, headers: LooseHeaders=sentinel,
aiohttp/web_request.py:708
↓ 14 callersMethodcompress
(self)
aiohttp/web_ws.py:263
↓ 14 callersFunctioncontent_disposition_filename
(params: Mapping[str, str], name: str='filename')
aiohttp/multipart.py:164
↓ 14 callersFunctionmake_conn
()
tests/test_connector.py:207
↓ 14 callersMethodparse_frame
Return the next frame from the socket.
aiohttp/http_websocket.py:388
↓ 14 callersMethodsetup
(self)
aiohttp/web_runner.py:228
↓ 14 callersMethodwrite
Write payload. writer is an AbstractStreamWriter instance:
aiohttp/payload.py:196
↓ 13 callersMethod__init__
(self, domain: str)
aiohttp/web_urldispatcher.py:725
↓ 13 callersMethod_release
(self, key: 'ConnectionKey', protocol: ResponseHandler, *, should_close: bool=False)
aiohttp/connector.py:600
↓ 13 callersMethod_resolve_host
(self, host: str, port: int, traces: Optional[List['Tr
aiohttp/connector.py:754
↓ 13 callersFunctiongen_ws_headers
(protocols='', compress=0, extension_text='', server_notakeover=False, client_notakeover=Fa
tests/test_websocket_handshake.py:12
↓ 13 callersMethodget
(self)
tests/test_web_urldispatcher.py:337
↓ 13 callersMethodget
(self)
examples/web_classview.py:14
↓ 13 callersMethodreadany
(self)
aiohttp/streams.py:360
↓ 13 callersMethodreceive_str
(self, *, timeout: Optional[float]=None)
aiohttp/web_ws.py:427
↓ 13 callersMethodrequest_reply_with_same_url
(self, url)
tests/test_cookiejar.py:321
↓ 13 callersMethodset
(self, exc: Optional[BaseException]=None)
aiohttp/locks.py:24
↓ 12 callersMethodfilter_cookies
Returns this jar's cookies filtered by their attributes.
aiohttp/cookiejar.py:197
↓ 12 callersMethodflush
(self)
aiohttp/http_parser.py:722
next →1–100 of 3,741, ranked by callers