You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only supports sending serialisable objects and strings now.
48
+
Binary data support is in progress.
49
+
50
+
```javascript
51
+
conn.send('eventName',{x:0,y:0})
52
+
```
53
+
54
+
Client for browser is build on top of WebSocket javascript object. TFPSocketsClient provides access to base socket object via `ws` property and can also be initialised with a pre initialised WebSocket instance using:
55
+
```javascript
56
+
var cleint =newTFPSocketsClient(null, null,initilisedWS)
57
+
```
58
+
59
+
## Server
60
+
Server library is build on top of [**WS**](https://github.com/websockets/ws) libary. library provides access to base WebSocket.Server object via `wss` proprerty for those who need more customisation.
0 commit comments