1.1.5 • Published 1 year ago
@websocketpie/client v1.1.5
A client for connecting to, sending and receiving messages from a @websocketpie/server instance.
This package is a client that abstracts @websocketpie/server's public API behind simple publicly exported methods.
Getting started, simplest usage:
import PieClient from '@websocketpie/client';
const pie = new PieClient();
pie.onData = x => console.log('onData:', x.payload);
await pie.quickConnect('ws://localhost:8000');
pie.sendData("hello multi-user world");
Extras
Add <div id='websocketpie-connection-status'></div>
to the page to have @websocketpie/client automatically update it with the connection status
1.1.5
1 year ago
1.1.4
1 year ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.1
2 years ago
1.0.2
2 years ago
1.1.0
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.17.0
2 years ago
0.16.0
2 years ago
0.15.12
3 years ago
0.15.11
3 years ago
0.15.10
3 years ago
0.15.9
3 years ago
0.15.8
3 years ago
0.15.6
3 years ago
0.15.5
3 years ago
0.15.4
3 years ago
0.15.3
3 years ago
0.15.2
3 years ago
0.15.1
3 years ago
0.15.0
3 years ago
0.14.3
3 years ago
0.14.2
3 years ago
0.14.1
3 years ago
0.14.0
3 years ago
0.13.7
3 years ago
0.13.6
3 years ago
0.13.5
3 years ago
0.13.4
3 years ago
0.13.3
3 years ago