0.0.5 • Published 3 years ago
@cubetiq/hws v0.0.5
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/hwshws 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 sombochea@cubetiqs.com