The readme has:
//We use res.runMiddleware instead of app.runMiddleware. All the cookies & other data (like socket.io session) will be pass to the second middle ware
res.runMidleware(...)
There's a small typo runMidleware() is missing an l, but also looking at the code it looks like this function is defined on the req object not the res object.
The readme has:
There's a small typo
runMidleware()is missing anl, but also looking at the code it looks like this function is defined on thereqobject not theresobject.