TinyBase logoTinyBase β

WebSocketTypes

The WebSocketTypes type represents the valid types of WebSocket that can be used with the WsSynchronizer.

WebSocket | WsWebSocket

This includes the browser-native WebSocket type, as well as the WebSocket type from the well-known ws package (such that the Synchronizer can be used in a server environment).

Since

v5.0.0