node-hocus-pocus / legerdemain

Run your Node.js web apps from AWS API Gateway.
83 stars 4 forks source link

what about an express app that uses socket.io? #2

Closed ecoviz closed 9 years ago

ecoviz commented 9 years ago

can i do this?

app = require('express')() ; sockio = require('socket.io') ; sockio.listen(app.listen(port))

johntitus commented 9 years ago

No - Unfortunately, the "request" sent from API Gateway doesn't support sockets/streaming.

ecoviz commented 9 years ago

ok thanks for the prompt feedback.