MCPcopy Create free account

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

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

↓ 5 callersMethod_prepare_headers
Add default headers and transform it to CIMultiDict
aiohttp/client.py:805
↓ 5 callersMethod_wait
(self, func_name: str)
aiohttp/streams.py:283
↓ 5 callersMethodappend_form
Helper to append form urlencoded part.
aiohttp/multipart.py:903
↓ 5 callersFunctionbuild_close_frame
Close the websocket, sending the specified code and message.
tests/test_websocket_parser.py:72
↓ 5 callersMethodclose
Stop accepting new pipelinig messages and close connection when handlers done processing messages
aiohttp/web_protocol.py:358
↓ 5 callersFunctionf
(num)
tests/test_web_app.py:183
↓ 5 callersFunctiongen
()
tests/test_client_request.py:841
↓ 5 callersMethodjson
Like read(), but assumes that body parts contains JSON data.
aiohttp/multipart.py:438
↓ 5 callersMethodnow
(tz)
tests/test_web_log.py:84
↓ 5 callersFunctionpatch
(path: str, handler: _HandlerType, **kwargs: Any)
aiohttp/web_routedef.py:116
↓ 5 callersMethodput
Perform HTTP PUT request.
aiohttp/client.py:856
↓ 5 callersMethodread_nowait
(self, n: int=-1)
aiohttp/streams.py:418
↓ 5 callersMethodreadexactly
(self, n: int)
aiohttp/streams.py:402
↓ 5 callersMethodreceive_json
(self, *, loads: JSONDecoder=json.loads, timeout: Optional[float]=None)
aiohttp/web_ws.py:443
↓ 5 callersFunctionrequest
()
tests/test_proxy_functional.py:218
↓ 5 callersMethodrequest
Perform HTTP request.
aiohttp/client.py:283
↓ 5 callersMethodresolve
(self, host: str, port: int=0, family: int=socket.AF_INET)
aiohttp/resolver.py:55
↓ 5 callersMethodstart_server
(self)
aiohttp/test_utils.py:238
↓ 4 callersMethod_cleanup
Cleanup unused transports.
aiohttp/connector.py:297
↓ 4 callersMethod_cleanup_writer
(self)
aiohttp/client_reqrep.py:891
↓ 4 callersMethod_create_ssl_context
Creates SSLContext instance for usage in asyncio.create_server. See ssl.SSLSocket.__init__ for more details.
aiohttp/worker.py:176
↓ 4 callersMethod_notify_waiter_done
(self, waiter: 'asyncio.Future[bool]'=None)
aiohttp/worker.py:125
↓ 4 callersMethod_read_nowait
Read not more than n bytes, or whole buffer is n == -1
aiohttp/streams.py:459
↓ 4 callersMethod_reschedule_timeout
(self)
aiohttp/client_proto.py:168
↓ 4 callersMethod_send_frame
Send a frame over the websocket with message as its payload.
aiohttp/http_websocket.py:557
↓ 4 callersMethod_start
(self, request: 'BaseRequest')
aiohttp/web_response.py:652
↓ 4 callersMethodadd_callback
(self, callback: Callable[[], None])
aiohttp/connector.py:129
↓ 4 callersFunctionaiohttp_unused_port
Return a port that is unused on the current host.
aiohttp/pytest_plugin.py:234
↓ 4 callersMethodappend_payload
Adds a new body part to multipart writer.
aiohttp/multipart.py:861
↓ 4 callersFunctionbytes_gen
(size)
tests/test_web_request.py:152
↓ 4 callersFunctioncall_later
(cb, timeout, loop)
aiohttp/helpers.py:513
↓ 4 callersFunctionceil
(mocker)
tests/test_web_protocol.py:101
↓ 4 callersMethoddel_cookie
Delete cookie. Creates new empty expired cookie.
aiohttp/web_response.py:211
↓ 4 callersMethoddrain
Flush the write buffer. The intended use is to write await w.write(data) await w.drain()
aiohttp/http_writer.py:145
↓ 4 callersFunctiondumps
(obj)
tests/test_client_functional.py:1613
↓ 4 callersMethodexpired
(self, key: Tuple[str, int])
aiohttp/connector.py:666
↓ 4 callersFunctionfake_result
(addresses)
tests/test_resolver.py:28
↓ 4 callersMethodforce_close
Ultimately close connection on releasing if True.
aiohttp/connector.py:273
↓ 4 callersMethodform
Like read(), but assumes that body parts contains form urlencoded data.
aiohttp/multipart.py:448
↓ 4 callersMethodget_charset
Returns charset parameter from Content-Type header or default.
aiohttp/multipart.py:503
↓ 4 callersMethodget_encoding
(self)
aiohttp/client_reqrep.py:927
↓ 4 callersFunctionhandler
(request)
tests/test_web_log.py:193
↓ 4 callersFunctionis_ip_address
( host: Optional[Union[str, bytes, bytearray, memoryview]])
aiohttp/helpers.py:456
↓ 4 callersMethodload
(self, file_path: PathLike)
aiohttp/cookiejar.py:66
↓ 4 callersMethodreadline
Reads body part by line by line.
aiohttp/multipart.py:393
↓ 4 callersMethodreceive
(self, timeout: Optional[float]=None)
aiohttp/client_ws.py:218
↓ 4 callersMethodregister
(self, callback: Callable[..., None], *args: Any, **kwargs: Any)
aiohttp/helpers.py:529
↓ 4 callersMethodrun
(self)
examples/legacy/crawl.py:26
↓ 4 callersMethodsend
Send a frame over the websocket with message as its payload.
aiohttp/http_websocket.py:635
↓ 4 callersMethodsend
(self, conn)
tests/test_client_request.py:1076
↓ 4 callersFunctionset_exception
(fut: 'asyncio.Future[_T]', exc: BaseException)
aiohttp/helpers.py:677
↓ 4 callersMethodset_parser
(self, parser: Any)
aiohttp/web_protocol.py:286
↓ 4 callersMethodstart
(self)
aiohttp/web_runner.py:189
↓ 4 callersMethodunread_data
(self, data)
tests/test_multipart.py:74
↓ 4 callersMethodwrite
Write body.
aiohttp/multipart.py:940
↓ 3 callersMethod__init__
(self, connector: 'BaseConnector', key: 'ConnectionKey', protocol: ResponseH
aiohttp/connector.py:82
↓ 3 callersMethod__init__
(self, location: StrOrURL, *, headers: Optional[LooseHeader
aiohttp/web_exceptions.py:207
↓ 3 callersMethod__setitem__
(self, key: str, value: Any)
aiohttp/web_app.py:131
↓ 3 callersMethod_cleanup_closed
Double confirmation for transport close. Some broken ssl servers may leave socket open without proper close.
aiohttp/connector.py:341
↓ 3 callersMethod_do_expiration
(self)
aiohttp/cookiejar.py:85
↓ 3 callersMethod_get_valid_log_format
(self, source_format: str)
aiohttp/worker.py:193
↓ 3 callersMethod_http_date
Process a date string, return a datetime object
aiohttp/web_request.py:432
↓ 3 callersMethod_process_keepalive
(self)
aiohttp/web_protocol.py:389
↓ 3 callersMethod_read_nowait_chunk
(self, n: int)
aiohttp/streams.py:432
↓ 3 callersMethod_release_acquired
(self, key: 'ConnectionKey', proto: ResponseHandler)
aiohttp/connector.py:584
↓ 3 callersMethod_response_eof
(self)
aiohttp/client_reqrep.py:829
↓ 3 callersMethod_run
(self)
aiohttp/worker.py:65
↓ 3 callersMethod_write
(self, chunk: bytes)
aiohttp/http_writer.py:61
↓ 3 callersMethodadd_app
(self, app: 'Application')
aiohttp/web_urldispatcher.py:212
↓ 3 callersMethodadd_domain
(self, domain: str, subapp: 'Application')
aiohttp/web_app.py:242
↓ 3 callersMethodadd_head
Shortcut for add_route with method HEAD
aiohttp/web_urldispatcher.py:1046
↓ 3 callersMethodadd_prefix
(self, prefix: str)
aiohttp/web_urldispatcher.py:349
↓ 3 callersMethodat_eof
Returns True if the final boundary was reached or False otherwise.
aiohttp/multipart.py:604
↓ 3 callersFunctioncallback
(**kwargs)
tests/test_signals.py:35
↓ 3 callersMethodclear_dns_cache
Remove specified host/port or clear all dns local cache.
aiohttp/connector.py:742
↓ 3 callersMethodclose
Close all fixtures created by the test client. After that point, the TestClient is no longer usable. This is an idempotent function:
aiohttp/test_utils.py:356
↓ 3 callersMethodconnection_lost
(self, exc: Optional[BaseException])
aiohttp/client_proto.py:72
↓ 3 callersMethodconnection_lost
(self, handler: RequestHandler, exc: Optional[BaseException]=None)
aiohttp/web_server.py:44
↓ 3 callersMethodconnection_made
(self, handler: RequestHandler, transport: asyncio.Transport)
aiohttp/web_server.py:40
↓ 3 callersFunctioncreate_mocked_conn
(loop)
tests/conftest.py:91
↓ 3 callersFunctioncurrent_task
( loop: Optional[asyncio.AbstractEventLoop]=None )
aiohttp/helpers.py:256
↓ 3 callersMethoddebug
(self)
aiohttp/web_app.py:196
↓ 3 callersMethoddelete
Perform HTTP DELETE request.
aiohttp/client.py:872
↓ 3 callersMethoddrain
(self)
aiohttp/web_response.py:413
↓ 3 callersMethodenable_compression
(self, encoding: str='deflate')
aiohttp/http_writer.py:56
↓ 3 callersFunctionfake_addrinfo
(hosts)
tests/test_resolver.py:37
↓ 3 callersMethodfeed_data
( self, data: bytes, SEP: bytes=b'\r\n', EMPTY: bytes=b'',
aiohttp/http_parser.py:226
↓ 3 callersMethodfeed_eof
(self)
aiohttp/http_parser.py:209
↓ 3 callersFunctionfill_routes
(router)
tests/test_urldispatch.py:47
↓ 3 callersFunctionfinalize
()
aiohttp/pytest_plugin.py:255
↓ 3 callersMethodforce_close
Force close connection
aiohttp/web_protocol.py:365
↓ 3 callersMethodforce_close
(self)
aiohttp/web_response.py:136
↓ 3 callersMethodfrom_url
Create BasicAuth from url.
aiohttp/helpers.py:164
↓ 3 callersMethodget
(self, data: Any, *args: Any, _CHAIN: Any=chain, **kwargs: Any
aiohttp/payload.py:95
↓ 3 callersMethodget_info
(self)
aiohttp/web_urldispatcher.py:757
↓ 3 callersFunctionguess_filename
(obj: Any, default: Optional[str]=None)
aiohttp/helpers.py:337
↓ 3 callersFunctionhandler
(request)
tests/test_web_middleware.py:8
↓ 3 callersMethodhandler
(request)
tests/test_web_exceptions.py:151
↓ 3 callersMethodinit_process
(self)
aiohttp/worker.py:45
↓ 3 callersMethodinsert
(self, pos, item)
aiohttp/frozenlist.py:55
← previousnext →201–300 of 3,741, ranked by callers