Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 245 Bytes

File metadata and controls

12 lines (9 loc) · 245 Bytes

Yet another promised websocket implementation.

Feels more like blocking socket.

e.g.

const socket = new PromisedWebsocket();
await socket.open('wss://echo.websocket.org');
await socket.send('ping');
const pong = await socket.recv();