Closed davidbrochart closed 2 years ago
The websocket is now passed as a parameter in order for WebsocketProvider to be agnostic to the websocket library. The websocket API should be similar to websockets, in particular we need the following methods:
WebsocketProvider
await websocket.send(message)
async for message in websocket:
The websocket is now passed as a parameter in order for
WebsocketProvider
to be agnostic to the websocket library. The websocket API should be similar to websockets, in particular we need the following methods:await websocket.send(message)
async for message in websocket: