extensions/socketio/README.md
Stability: :warning: Experimental :warning:
This module uses socket.io to expose controllers as WebSocket friendly endpoints.
A real time application would like to use WebSocket friendly APIs to manage subscriptions, participants (rooms) and message exchanges.
Make it easy for API developers to expose WebSocket friendly APIs without learning a lot of low level concepts.
Use it as a step stone to explore messaging oriented API paradigms and programming models, such as pub/sub, eventing, streaming, and reactive.
The package will provide the following key constructs:
SocketIoServer: A new server type that listens on incoming WebSocket connections and dispatches messages to controllers that subscribe to the namespace. Each server is attached to an http/https endpoint.
SocketIo controller: A controller class that is decorated with SocketIo related metadata, including:
SocketIo middleware or sequence
npm install --save @loopback/socketio
Run npm test from the root folder.
See all contributors.
MIT