Skip to content

nelsongarym/redux-websocket-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redux-websocket-middleware

Redux middleware for managing Websocket connections.

Table of contents

  1. Introduction
  2. License
  3. Acknowledgements

Introduction

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.

License

MIT

Acknowledgements

The code in this module was originally extracted and inspired by redux-api-middleware

Releases

No releases published

Packages

No packages published