Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 671 Bytes

File metadata and controls

13 lines (9 loc) · 671 Bytes

primus-express-session-middleware

Share a user session between Express 4.x and Primus 3.0.x using middleware.

This is a fork of primus express middleware example, where they show us how to use a middleware to add the session data in the requests captured by Primus. That data is read-only and sometimes you need to make changes and save them using a spark. With this fork, inspired from express-session, you can!

Installation

npm i git://github.com/djhojd/primus-express-session-middleware.git

How to use

...