sockie

Easy to Use Reactive Extensioned WebSocket Client/Server Framework for Node.js

APACHE-2.0 License

Stars
3

sockie

Easy Rx WebSocket Client/Server Management Framework

Picture credit: Clker-Free-Vector-Images @ Pixabay

Goal

Sockie is design to simplify the Websocket Server/Client API with Reactive Extensions.

  1. Out-of-Box WebSocket Server with Reactive Extensions
  2. Out-of-Box WebSocket Client RxJS Subject that support both Node.js & Browser
  3. Socket as a Subject
  4. readyState as a Observable
  5. event as a Observable
  6. Sockie will always be HOT(Observable).
  7. Always automaticaly reconnect untill you call complete() or error()
  8. Not support Binary Type

Example

Talk is cheap, show me the code!

Server

Client

Resources

Angular

WebSocket

RxJS

Redux

Reference

Related Projects

Author

Huan LI (李卓桓) [email protected]

Copyright & License

  • Code & Docs © 2017-now Huan LI <[email protected]>
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons