asyncins / aiowebsocket

Async WebSocket Client. Advantage: Flexible Lighter and Faster
321 stars 55 forks source link

想请问下,发送的数据能否是16进制字节 #11

Open jaydenjd opened 4 years ago

jaydenjd commented 4 years ago

如, await converse.send(message),用 websocket-client 库的发送是,

x = [8, 1, 26, 7, 8, 184, 232, 190, 199, 220, 44] ws.send(x, websocket.ABNF.OPCODE_BINARY)

那么aiowebsocket 要怎么实现??