Oli
Oli
Thanks for the tip. I will see how to get around that problem.
Hi anodynos, would you mind doing a PR? Thanks.
@brokenladder came here to complain about the same thing. Has this been fixed yet?
Is there a workaround for this? I need this since some of my dicts contain numpy floats.
Ah thanks @mitar . I still ended up writing this workaround since I don't always have control over the objects I'm jsonifying: ```python def is_iterable(x): try: iter(x) return True except...
+1 I'm currently using a custom handleUpgrade to do authentication before passing the request to https://github.com/websockets/ws/ but it would be nice to be able to use express middleware / routing....
Just wrote this module: https://github.com/olalonde/express-websocket ``` javascript var http = require('http'); var ws = require('ws'); module.exports = function (app, wss) { if (!wss) { wss = new ws.Server({ noServer: true...
Any updates on this? I need this for a bandwidth monitoring middleware I'm working on. For now, I resorted to copy-pasting the code from here :/
I've started working on something for my own middleware: https://github.com/strongloop/express/issues/2811#issuecomment-158633664 Would be nice to see if it works with this module. Eventually we could extract the `patch(res)` procedure to a...