MCPcopy Create free account

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

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

↓ 12 callersMethodfreeze
(self)
aiohttp/frozenlist.py:24
↓ 12 callersMethodping
(self, message: bytes=b'')
aiohttp/web_ws.py:269
↓ 12 callersMethodwrite
Writes chunk of data to a stream. write_eof() indicates end of stream. writer can't be used after write_eof() method being called.
aiohttp/http_writer.py:70
↓ 11 callersMethodadd_resource
(self, path: str, *, name: Optional[str]=None)
aiohttp/web_urldispatcher.py:994
↓ 11 callersFunctionaiohttp_raw_server
Factory to create a RawTestServer instance, given a web handler. aiohttp_raw_server(handler, **kwargs)
aiohttp/pytest_plugin.py:263
↓ 11 callersMethodclose
(self)
aiohttp/connector.py:140
↓ 11 callersMethodenable_compression
Enables response compression encoding.
aiohttp/web_response.py:151
↓ 11 callersMethodfeed_data
(self, data: bytes, size: int=0)
aiohttp/streams.py:229
↓ 11 callersMethodnext
Emits the next multipart body part.
aiohttp/multipart.py:610
↓ 11 callersFunctionset_result
(fut: 'asyncio.Future[_T]', result: _T)
aiohttp/helpers.py:672
↓ 11 callersMethodtrace_config_ctx
Return a new trace_config_ctx instance
aiohttp/tracing.py:75
↓ 10 callersMethod_handshake
(self, request: BaseRequest)
aiohttp/web_ws.py:132
↓ 10 callersMethodconnection_made
(self, transport: asyncio.BaseTransport)
aiohttp/base_protocol.py:50
↓ 10 callersMethodend_http_chunk_receiving
(self)
aiohttp/streams.py:255
↓ 10 callersMethodget_info
Return a dict with additional info useful for introspection
aiohttp/abc.py:77
↓ 10 callersMethodsend_json
(self, data: Any, compress: Optional[bool]=None, *, dumps: JSONEncoder=json.dumps)
aiohttp/web_ws.py:296
↓ 10 callersMethodset_cookie
Set or update response cookie. Sets new cookie or updates existent with new value. Also updates only those params which are not None.
aiohttp/web_response.py:167
↓ 10 callersMethodwrite_eof
(self, data: bytes=b'')
aiohttp/web_response.py:422
↓ 10 callersMethodwrite_eof
(self, data: bytes=b'')
aiohttp/web_response.py:629
↓ 9 callersMethod_create_connection
Create connection. Has same keyword arguments as BaseEventLoop.create_connection.
aiohttp/connector.py:827
↓ 9 callersMethod_request
( self, method: str, str_or_url: StrOrURL, *, params: Optional
aiohttp/client.py:290
↓ 9 callersMethodat_eof
(self)
tests/test_multipart.py:68
↓ 9 callersFunctionbuild_frame
Send a frame over the websocket with message as its payload.
tests/test_websocket_parser.py:23
↓ 9 callersMethodclose
(self)
aiohttp/client_reqrep.py:850
↓ 9 callersMethodenable_compression
Enable HTTP body compression
aiohttp/abc.py:177
↓ 9 callersFunctionmake_runner
(loop, app)
tests/test_web_runner.py:18
↓ 9 callersMethodreadchunk
Returns a tuple of (data, end_of_http_chunk). When chunked transfer encoding is used, end_of_http_chunk is a boolean indicating if the end
aiohttp/streams.py:372
↓ 9 callersMethodresources
(self)
aiohttp/web_urldispatcher.py:960
↓ 9 callersMethodset_response_params
(self, *, timer: BaseTimerContext=None, skip_payload: bool=False,
aiohttp/client_proto.py:143
↓ 9 callersMethodset_status
(self, status: int, reason: Optional[str]=None, _RESPONSES: Mapping[int,
aiohttp/web_response.py:117
↓ 9 callersMethodwrite_eof
(self, chunk: bytes=b'')
aiohttp/http_writer.py:114
↓ 8 callersMethod__init__
(self, value: Any, headers: Optional[ Union[
aiohttp/payload.py:128
↓ 8 callersMethod_drain_helper
(self)
aiohttp/base_protocol.py:72
↓ 8 callersMethod_drop_timeout
(self)
aiohttp/client_proto.py:163
↓ 8 callersMethod_get_ssl_context
Logic to get the correct SSL context 0. if req.ssl is false, return None 1. if ssl_context is specified in req, use it 2. if
aiohttp/connector.py:865
↓ 8 callersMethod_release_waiter
Iterates over all waiters till found one that is not finsihed and belongs to a host that has available connections.
aiohttp/connector.py:560
↓ 8 callersMethod_request
(self, method: str, path: str, **kwargs: Any)
aiohttp/test_utils.py:275
↓ 8 callersMethodappend_json
Helper to append JSON part.
aiohttp/multipart.py:892
↓ 8 callersMethodbegin_http_chunk_receiving
(self)
aiohttp/streams.py:248
↓ 8 callersFunctioncb
(*args, **kwargs)
tests/test_signals.py:65
↓ 8 callersMethoddecode
Decodes data according the specified Content-Encoding or Content-Transfer-Encoding headers value.
aiohttp/multipart.py:468
↓ 8 callersFunctiondns_response
(loop)
tests/test_connector.py:635
↓ 8 callersMethodfreeze
(self)
aiohttp/tracing.py:83
↓ 8 callersMethodget
(self, key: str, default: Any=None)
aiohttp/helpers.py:701
↓ 8 callersMethodnext
(self)
aiohttp/multipart.py:277
↓ 8 callersMethodpause_writing
(self)
aiohttp/base_protocol.py:20
↓ 8 callersMethodpong
(self, message: bytes=b'')
aiohttp/web_ws.py:274
↓ 8 callersMethodread
Read response payload.
aiohttp/client_reqrep.py:912
↓ 8 callersFunctionroute
(method: str, path: str, handler: _HandlerType, **kwargs: Any)
aiohttp/web_routedef.py:89
↓ 8 callersMethodroute
(self, method: str, path: str, **kwargs: Any)
aiohttp/web_routedef.py:162
↓ 8 callersMethodwait
(self)
aiohttp/locks.py:28
↓ 7 callersMethod_make_ssl_context
(verified: bool)
aiohttp/connector.py:845
↓ 7 callersMethodadd_route
(self, method: str, path: str, handler: Union[_WebHandler, Type[AbstractView]],
aiohttp/web_urldispatcher.py:1012
↓ 7 callersMethodcall
(self, request, handler)
tests/test_web_middleware.py:349
↓ 7 callersMethodcan_prepare
(self, request: BaseRequest)
aiohttp/web_ws.py:240
↓ 7 callersMethodenable_chunked_encoding
Enables automatic chunked transfer encoding.
aiohttp/web_response.py:143
↓ 7 callersMethodfeed_data
(self, chunk: bytes, SEP: bytes=b'\r\n', CHUNK_EXT: byte
aiohttp/http_parser.py:584
↓ 7 callersFunctionget_running_loop
()
aiohttp/helpers.py:273
↓ 7 callersMethodhead
Perform HTTP HEAD request.
aiohttp/client.py:840
↓ 7 callersMethodjson
Read and decodes JSON response.
aiohttp/client_reqrep.py:959
↓ 7 callersMethodnext_addrs
(self, key: Tuple[str, int])
aiohttp/connector.py:659
↓ 7 callersMethodon_eof
(self, callback: Callable[[], None])
aiohttp/streams.py:161
↓ 7 callersMethodprepare
( self, request: 'BaseRequest' )
aiohttp/web_fileresponse.py:208
↓ 7 callersMethodraise_for_status
(self)
aiohttp/client_reqrep.py:879
↓ 7 callersMethodstart
(self)
aiohttp/web_runner.py:102
↓ 7 callersMethodstartup
Causes on_startup signal Should be called in the event loop along with the request handler.
aiohttp/web_app.py:284
↓ 7 callersFunctiontcp_nodelay
(transport: asyncio.Transport, value: bool)
aiohttp/tcp_helpers.py:30
↓ 7 callersFunctionunused_port
Return a port that is unused on the current host.
aiohttp/test_utils.py:70
↓ 6 callersFunction_create_example_app
()
tests/test_test_utils.py:25
↓ 6 callersFunctioncli
(loop, aiohttp_client)
tests/test_web_middleware.py:71
↓ 6 callersMethodconnection_lost
(self, exc: Optional[BaseException])
aiohttp/base_protocol.py:55
↓ 6 callersFunctioncreate_stream
()
tests/test_streams.py:24
↓ 6 callersMethoddata_received
(self, data: bytes)
aiohttp/client_proto.py:185
↓ 6 callersMethoddecompress
(self, data: bytes)
aiohttp/http_parser.py:717
↓ 6 callersMethoddrain
Flush the write buffer.
aiohttp/abc.py:173
↓ 6 callersMethodenable_chunking
(self)
aiohttp/http_writer.py:53
↓ 6 callersFunctionf
()
tests/test_connector.py:1401
↓ 6 callersMethodfeed_eof
(self)
aiohttp/http_parser.py:756
↓ 6 callersFunctionis_expected_content_type
(response_content_type: str, expected_content_type: str)
aiohttp/helpers.py:374
↓ 6 callersFunctionjson_response
(data: Any=sentinel, *, text: str=None, body: bytes=None,
aiohttp/web_response.py:694
↓ 6 callersMethodkeep_alive
Is keepalive enabled by client?
aiohttp/web_request.py:467
↓ 6 callersMethodlog
(self, request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:215
↓ 6 callersFunctionparse_mimetype
Parses a MIME type into its components. mimetype is a MIME type string. Returns a MimeType object. Example: >>> parse_mimetype('te
aiohttp/helpers.py:297
↓ 6 callersMethodreceive_bytes
(self, *, timeout: Optional[float]=None)
aiohttp/web_ws.py:435
↓ 6 callersMethodrelease
(self)
aiohttp/client_reqrep.py:865
↓ 6 callersMethodrelease
Like read(), but reads all the data to the void.
aiohttp/multipart.py:423
↓ 6 callersMethodresolve
(self, request: Request)
aiohttp/web_urldispatcher.py:303
↓ 6 callersMethodset_content_disposition
Sets ``Content-Disposition`` header.
aiohttp/payload.py:187
↓ 6 callersMethodshutdown
(self, timeout: Optional[float]=None)
aiohttp/web_server.py:57
↓ 6 callersFunctiontcp_cork
(transport: asyncio.Transport, value: bool)
aiohttp/tcp_helpers.py:47
↓ 6 callersMethodterminate
(self)
aiohttp/client_reqrep.py:600
↓ 6 callersMethodtext
Read response payload and decode.
aiohttp/client_reqrep.py:948
↓ 6 callersMethodtext
Like read(), but assumes that body part contains text data.
aiohttp/multipart.py:430
↓ 6 callersMethodtimeout
(self)
aiohttp/helpers.py:606
↓ 5 callersMethod__anext__
(self)
aiohttp/web_ws.py:454
↓ 5 callersMethod__init__
(self, runner: 'BaseRunner', host: str=None, port: int=None, *, shutdown_tim
aiohttp/web_runner.py:80
↓ 5 callersMethod_drop_acquired_per_host
(self, key: 'ConnectionKey', val: ResponseHandler)
aiohttp/connector.py:331
↓ 5 callersMethod_get
(self, key: 'ConnectionKey')
aiohttp/connector.py:534
↓ 5 callersMethod_get_part_reader
Dispatches the response by the `Content-Type` header, returning suitable reader instance. :param dict headers: Response headers
aiohttp/multipart.py:643
↓ 5 callersMethod_match
(self, path: str)
aiohttp/web_urldispatcher.py:322
← previousnext →101–200 of 3,741, ranked by callers