Redux middleware for managing Websocket connections.
This middleware receives Redux Standard WS-calling Actions (RSAAs) and dispatches Flux Standard Actions (FSAs) to the next middleware.
RSAAs are identified by the presence of a [CALL_WS]
property, where CALL_WS
is a Symbol
defined in, and exported by redux-websocket-middleware
. They contain information describing an Websocket call and three different types of FSAs, known as the subscribe, unsubscribe and failure FSAs.
MIT
The code in this module was originally extracted and inspired by redux-api-middleware