https://github.com/mkusz/ng2_websockets_quickstart
Angular 2.0.0-beta.1 with websocket quickstart
https://github.com/mkusz/ng2_websockets_quickstart
Last synced: 8 months ago
JSON representation
Angular 2.0.0-beta.1 with websocket quickstart
- Host: GitHub
- URL: https://github.com/mkusz/ng2_websockets_quickstart
- Owner: mkusz
- License: mit
- Created: 2016-01-10T20:17:38.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-11T20:45:27.000Z (almost 10 years ago)
- Last Synced: 2025-03-26T06:34:34.451Z (8 months ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- angular-awesome-list - Angular + websockets - Простой счетчик с 2-way и 1-way взаимодействием по websockets (Awesome Angular [](https://github.com/gdi2290/awesome-angular) [](https://github.com/brillout/awesome-angular-components) / Angular <a id="angular"></a>)
README
# ng2_websockets_quickstart
This is a short example how to use websockets in Angular2.
In this example you can see a very simple reconnection algorithm without any external websocket implementation.
It can be run using example echo websocket from [www.websocket.org](http://www.websocket.org/echo.html) or by running local Python websocket serwer ([Tornado](http://www.tornadoweb.org/)). Websocket from Python can also be configured to run in pushing message mode (no data send from web browser). Just read commments in code.
To run this example you need to use npm and run Python script (works for Python > 2.7).