Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/aiohttp
/ functions
Functions
3,741 in github.com/aio-libs/aiohttp
⨍
Functions
3,741
◇
Types & classes
350
↳
Endpoints
25
↓ 12 callers
Method
freeze
(self)
aiohttp/frozenlist.py:24
↓ 12 callers
Method
ping
(self, message: bytes=b'')
aiohttp/web_ws.py:269
↓ 12 callers
Method
write
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 callers
Method
add_resource
(self, path: str, *, name: Optional[str]=None)
aiohttp/web_urldispatcher.py:994
↓ 11 callers
Function
aiohttp_raw_server
Factory to create a RawTestServer instance, given a web handler. aiohttp_raw_server(handler, **kwargs)
aiohttp/pytest_plugin.py:263
↓ 11 callers
Method
close
(self)
aiohttp/connector.py:140
↓ 11 callers
Method
enable_compression
Enables response compression encoding.
aiohttp/web_response.py:151
↓ 11 callers
Method
feed_data
(self, data: bytes, size: int=0)
aiohttp/streams.py:229
↓ 11 callers
Method
next
Emits the next multipart body part.
aiohttp/multipart.py:610
↓ 11 callers
Function
set_result
(fut: 'asyncio.Future[_T]', result: _T)
aiohttp/helpers.py:672
↓ 11 callers
Method
trace_config_ctx
Return a new trace_config_ctx instance
aiohttp/tracing.py:75
↓ 10 callers
Method
_handshake
(self, request: BaseRequest)
aiohttp/web_ws.py:132
↓ 10 callers
Method
connection_made
(self, transport: asyncio.BaseTransport)
aiohttp/base_protocol.py:50
↓ 10 callers
Method
end_http_chunk_receiving
(self)
aiohttp/streams.py:255
↓ 10 callers
Method
get_info
Return a dict with additional info useful for introspection
aiohttp/abc.py:77
↓ 10 callers
Method
send_json
(self, data: Any, compress: Optional[bool]=None, *, dumps: JSONEncoder=json.dumps)
aiohttp/web_ws.py:296
↓ 10 callers
Method
set_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 callers
Method
write_eof
(self, data: bytes=b'')
aiohttp/web_response.py:422
↓ 10 callers
Method
write_eof
(self, data: bytes=b'')
aiohttp/web_response.py:629
↓ 9 callers
Method
_create_connection
Create connection. Has same keyword arguments as BaseEventLoop.create_connection.
aiohttp/connector.py:827
↓ 9 callers
Method
_request
( self, method: str, str_or_url: StrOrURL, *, params: Optional
aiohttp/client.py:290
↓ 9 callers
Method
at_eof
(self)
tests/test_multipart.py:68
↓ 9 callers
Function
build_frame
Send a frame over the websocket with message as its payload.
tests/test_websocket_parser.py:23
↓ 9 callers
Method
close
(self)
aiohttp/client_reqrep.py:850
↓ 9 callers
Method
enable_compression
Enable HTTP body compression
aiohttp/abc.py:177
↓ 9 callers
Function
make_runner
(loop, app)
tests/test_web_runner.py:18
↓ 9 callers
Method
readchunk
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 callers
Method
resources
(self)
aiohttp/web_urldispatcher.py:960
↓ 9 callers
Method
set_response_params
(self, *, timer: BaseTimerContext=None, skip_payload: bool=False,
aiohttp/client_proto.py:143
↓ 9 callers
Method
set_status
(self, status: int, reason: Optional[str]=None, _RESPONSES: Mapping[int,
aiohttp/web_response.py:117
↓ 9 callers
Method
write_eof
(self, chunk: bytes=b'')
aiohttp/http_writer.py:114
↓ 8 callers
Method
__init__
(self, value: Any, headers: Optional[ Union[
aiohttp/payload.py:128
↓ 8 callers
Method
_drain_helper
(self)
aiohttp/base_protocol.py:72
↓ 8 callers
Method
_drop_timeout
(self)
aiohttp/client_proto.py:163
↓ 8 callers
Method
_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 callers
Method
_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 callers
Method
_request
(self, method: str, path: str, **kwargs: Any)
aiohttp/test_utils.py:275
↓ 8 callers
Method
append_json
Helper to append JSON part.
aiohttp/multipart.py:892
↓ 8 callers
Method
begin_http_chunk_receiving
(self)
aiohttp/streams.py:248
↓ 8 callers
Function
cb
(*args, **kwargs)
tests/test_signals.py:65
↓ 8 callers
Method
decode
Decodes data according the specified Content-Encoding or Content-Transfer-Encoding headers value.
aiohttp/multipart.py:468
↓ 8 callers
Function
dns_response
(loop)
tests/test_connector.py:635
↓ 8 callers
Method
freeze
(self)
aiohttp/tracing.py:83
↓ 8 callers
Method
get
(self, key: str, default: Any=None)
aiohttp/helpers.py:701
↓ 8 callers
Method
next
(self)
aiohttp/multipart.py:277
↓ 8 callers
Method
pause_writing
(self)
aiohttp/base_protocol.py:20
↓ 8 callers
Method
pong
(self, message: bytes=b'')
aiohttp/web_ws.py:274
↓ 8 callers
Method
read
Read response payload.
aiohttp/client_reqrep.py:912
↓ 8 callers
Function
route
(method: str, path: str, handler: _HandlerType, **kwargs: Any)
aiohttp/web_routedef.py:89
↓ 8 callers
Method
route
(self, method: str, path: str, **kwargs: Any)
aiohttp/web_routedef.py:162
↓ 8 callers
Method
wait
(self)
aiohttp/locks.py:28
↓ 7 callers
Method
_make_ssl_context
(verified: bool)
aiohttp/connector.py:845
↓ 7 callers
Method
add_route
(self, method: str, path: str, handler: Union[_WebHandler, Type[AbstractView]],
aiohttp/web_urldispatcher.py:1012
↓ 7 callers
Method
call
(self, request, handler)
tests/test_web_middleware.py:349
↓ 7 callers
Method
can_prepare
(self, request: BaseRequest)
aiohttp/web_ws.py:240
↓ 7 callers
Method
enable_chunked_encoding
Enables automatic chunked transfer encoding.
aiohttp/web_response.py:143
↓ 7 callers
Method
feed_data
(self, chunk: bytes, SEP: bytes=b'\r\n', CHUNK_EXT: byte
aiohttp/http_parser.py:584
↓ 7 callers
Function
get_running_loop
()
aiohttp/helpers.py:273
↓ 7 callers
Method
head
Perform HTTP HEAD request.
aiohttp/client.py:840
↓ 7 callers
Method
json
Read and decodes JSON response.
aiohttp/client_reqrep.py:959
↓ 7 callers
Method
next_addrs
(self, key: Tuple[str, int])
aiohttp/connector.py:659
↓ 7 callers
Method
on_eof
(self, callback: Callable[[], None])
aiohttp/streams.py:161
↓ 7 callers
Method
prepare
( self, request: 'BaseRequest' )
aiohttp/web_fileresponse.py:208
↓ 7 callers
Method
raise_for_status
(self)
aiohttp/client_reqrep.py:879
↓ 7 callers
Method
start
(self)
aiohttp/web_runner.py:102
↓ 7 callers
Method
startup
Causes on_startup signal Should be called in the event loop along with the request handler.
aiohttp/web_app.py:284
↓ 7 callers
Function
tcp_nodelay
(transport: asyncio.Transport, value: bool)
aiohttp/tcp_helpers.py:30
↓ 7 callers
Function
unused_port
Return a port that is unused on the current host.
aiohttp/test_utils.py:70
↓ 6 callers
Function
_create_example_app
()
tests/test_test_utils.py:25
↓ 6 callers
Function
cli
(loop, aiohttp_client)
tests/test_web_middleware.py:71
↓ 6 callers
Method
connection_lost
(self, exc: Optional[BaseException])
aiohttp/base_protocol.py:55
↓ 6 callers
Function
create_stream
()
tests/test_streams.py:24
↓ 6 callers
Method
data_received
(self, data: bytes)
aiohttp/client_proto.py:185
↓ 6 callers
Method
decompress
(self, data: bytes)
aiohttp/http_parser.py:717
↓ 6 callers
Method
drain
Flush the write buffer.
aiohttp/abc.py:173
↓ 6 callers
Method
enable_chunking
(self)
aiohttp/http_writer.py:53
↓ 6 callers
Function
f
()
tests/test_connector.py:1401
↓ 6 callers
Method
feed_eof
(self)
aiohttp/http_parser.py:756
↓ 6 callers
Function
is_expected_content_type
(response_content_type: str, expected_content_type: str)
aiohttp/helpers.py:374
↓ 6 callers
Function
json_response
(data: Any=sentinel, *, text: str=None, body: bytes=None,
aiohttp/web_response.py:694
↓ 6 callers
Method
keep_alive
Is keepalive enabled by client?
aiohttp/web_request.py:467
↓ 6 callers
Method
log
(self, request: BaseRequest, response: StreamResponse, time: float)
aiohttp/web_log.py:215
↓ 6 callers
Function
parse_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 callers
Method
receive_bytes
(self, *, timeout: Optional[float]=None)
aiohttp/web_ws.py:435
↓ 6 callers
Method
release
(self)
aiohttp/client_reqrep.py:865
↓ 6 callers
Method
release
Like read(), but reads all the data to the void.
aiohttp/multipart.py:423
↓ 6 callers
Method
resolve
(self, request: Request)
aiohttp/web_urldispatcher.py:303
↓ 6 callers
Method
set_content_disposition
Sets ``Content-Disposition`` header.
aiohttp/payload.py:187
↓ 6 callers
Method
shutdown
(self, timeout: Optional[float]=None)
aiohttp/web_server.py:57
↓ 6 callers
Function
tcp_cork
(transport: asyncio.Transport, value: bool)
aiohttp/tcp_helpers.py:47
↓ 6 callers
Method
terminate
(self)
aiohttp/client_reqrep.py:600
↓ 6 callers
Method
text
Read response payload and decode.
aiohttp/client_reqrep.py:948
↓ 6 callers
Method
text
Like read(), but assumes that body part contains text data.
aiohttp/multipart.py:430
↓ 6 callers
Method
timeout
(self)
aiohttp/helpers.py:606
↓ 5 callers
Method
__anext__
(self)
aiohttp/web_ws.py:454
↓ 5 callers
Method
__init__
(self, runner: 'BaseRunner', host: str=None, port: int=None, *, shutdown_tim
aiohttp/web_runner.py:80
↓ 5 callers
Method
_drop_acquired_per_host
(self, key: 'ConnectionKey', val: ResponseHandler)
aiohttp/connector.py:331
↓ 5 callers
Method
_get
(self, key: 'ConnectionKey')
aiohttp/connector.py:534
↓ 5 callers
Method
_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 callers
Method
_match
(self, path: str)
aiohttp/web_urldispatcher.py:322
← previous
next →
101–200 of 3,741, ranked by callers