Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amir-arad/socket.io-client-wrapper
a socket.io client socket wrapper that can be created before actually connecting the socket.
https://github.com/amir-arad/socket.io-client-wrapper
Last synced: 4 days ago
JSON representation
a socket.io client socket wrapper that can be created before actually connecting the socket.
- Host: GitHub
- URL: https://github.com/amir-arad/socket.io-client-wrapper
- Owner: amir-arad
- Created: 2014-02-21T11:02:15.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-02-21T11:08:20.000Z (over 10 years ago)
- Last Synced: 2024-10-20T07:45:08.850Z (29 days ago)
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
socket.io-client-wrapper
========================a socket.io client socket wrapper that can be created before actually connecting the socket.
By separating the lifecycle of the socket object from the underlying socket connection, it is possible to pass the wrapper as if it was a live socket for services to register listeners, and only later connect a live socket underneath.
Handy for controlling socket connection time and yet supplying the socket as a global service in environments like Angular.
## Designed for use with
* [angular-socket-io](https://github.com/btford/angular-socket-io)
* [ngSocket](https://github.com/jeffbcross/ngSocket)