@cubetiq/hws
v0.0.5
Published
CUBETIQ HTTP WebSocket Server and Client using Socket.IO
Downloads
5
Readme
CUBETIQ Socket.IO Server Node
- CLI
- Socket.IO Server
Usages
- Run Server using
npx
npx -y @cubetiq/hws server 3000
- Install to globally
npm i -g @cubetiq/hws
hws start 3000
- Start Client (On Event)
hws client -u ws://localhost:3000 -e hello
- Start Client (Send Event)
hws client -u ws://localhost:3000 -e hello -b '{ "msg": "Hello World" }'
- Start Client (Send Event with Waiting)
hws client -u ws://localhost:3000 -e hello -b '{ "msg": "Hello World" }' -x '{ "waitEvent": "hello_world" }'
Contributors
- Sambo Chea [email protected]