client_ws

WebSocket client for asyncio.

Module Contents

Classes

ClientWebSocketResponse(self,reader,writer,protocol,response,timeout,autoclose,autoping,loop)
class ClientWebSocketResponse(reader, writer, protocol, response, timeout, autoclose, autoping, loop)
__init__(reader, writer, protocol, response, timeout, autoclose, autoping, loop)
_cancel_heartbeat()
_reset_heartbeat()
_send_heartbeat()
_pong_not_received()
closed()
close_code()
protocol()
compress()
client_notakeover()
get_extra_info(name, default=None)

extra info from connection transport

exception()
ping(message="b")
pong(message="b")
send_str(data, compress=None)
send_bytes(data, compress=None)
send_json(data, compress=None)
close()
receive(timeout=None)
receive_str()
receive_bytes()
receive_json()
__aiter__()
__anext__()