Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walterproof/knowthen-rtsupport
Real-time support app from Knowthen course
https://github.com/walterproof/knowthen-rtsupport
Last synced: about 2 months ago
JSON representation
Real-time support app from Knowthen course
- Host: GitHub
- URL: https://github.com/walterproof/knowthen-rtsupport
- Owner: WalterProof
- Created: 2019-03-31T19:27:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-15T20:25:53.000Z (over 5 years ago)
- Last Synced: 2024-07-06T13:56:19.576Z (6 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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))
}
```