chat-service-ws-messaging
v0.6.0
Published
chat-service-ws-messaging
Readme
chat-service-ws-messaging
chat-service ws-messaging transport plugin
Table of Contents
Installation
npm i chat-service
npm i chat-service-ws-messagingUsage
On a server:
const ChatService = require('chat-service')
const transport = require('chat-service-ws-messaging')
const port = 8000
const service = new ChatService({ port, transport }, { onConnect })On a client just ws-messaging client is required.
Contribute
If you encounter a bug in this package, please submit a bug report to github repo issues.
PRs are also accepted.
License
MIT
