Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/walterproof/knowthen-rtsupport

Real-time support app from Knowthen course
https://github.com/walterproof/knowthen-rtsupport

Last synced: 7 days ago
JSON representation

Real-time support app from Knowthen course

Awesome Lists containing this project

README

        

test websocket:

```
let msg = {
name: 'channel add',
data: {
name: 'Hardware Support'
}
};

let ws = new WebSocket('ws://localhost:4000');

ws.onopen = () => {
ws.send(JSON.stringify(msg))
}

ws.onmessage = (e) => {
console.log(JSON.parse(e.data))
}
```