Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonewebdesign/websocket-demo
An implementation of the official WebSocket API + Node.js
https://github.com/simonewebdesign/websocket-demo
javascript websocket
Last synced: 3 months ago
JSON representation
An implementation of the official WebSocket API + Node.js
- Host: GitHub
- URL: https://github.com/simonewebdesign/websocket-demo
- Owner: simonewebdesign
- License: mit
- Created: 2012-12-17T13:17:33.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-04-11T16:18:22.000Z (almost 5 years ago)
- Last Synced: 2024-04-14T15:17:33.270Z (10 months ago)
- Topics: javascript, websocket
- Language: JavaScript
- Homepage: https://simonewebdesign.it/101-web-socket-protocol-handshake
- Size: 195 KB
- Stars: 5
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 101 Web Socket Protocol Handshake
This is an implementation of the
[official WebSocket API](http://dev.w3.org/html5/websockets/) +
[Node.js](http://nodejs.org/).View the original post
[here](http://simonewebdesign.it/blog/101-web-socket-protocol-handshake).## Instructions
Assuming you have Node.js installed on your machine, just clone the repository and run `node server.js` or `npm start`.
Then open index.html in your browser.
You shouldn't even need a web server, but I'd recommend using one anyway. If you have python installed it's just one command away, e.g.: `python -m SimpleHTTPServer`. Then go to http://localhost:8000.