The minimal webSocket interface that a mock WebSocket implementation can call into to send messages back to the connected client or close the connection.
webSocket
@rest-vir/api
Close the WebSocket connection.
Send a message from the mock host back to the connected client. Equivalent to webSocket.send(...) on the host side.
webSocket.send(...)
The minimal
webSocketinterface that a mock WebSocket implementation can call into to send messages back to the connected client or close the connection.Package
@rest-vir/api