Flotype / now

NowJS makes it easy to build real-time web apps using JavaScript
http://www.nowjs.com
MIT License
1.91k stars 175 forks source link

Expose socket.io request object #32

Closed ggoodman closed 13 years ago

ggoodman commented 13 years ago

In order to tie now clients to the browsing session, it would be nice to have access to the request object and thus to the client's cookies.

numan commented 13 years ago

+1 I have a use case where this would be really useful.

ericz commented 13 years ago

Interesting. Sounds like it would be useful to make a connect middleware in that case. I'll look into this and see what we can do.

sridatta commented 13 years ago

Implemented this in latest repo code. Expect to see in it in 0.5.0 npm release.

dvv commented 13 years ago

Wonder if you could point to the commit. TIA

sridatta commented 13 years ago

latest commit: https://github.com/Flotype/now/commit/c993085b7890e01f90d8161da2a497e738d5560d

dvv commented 13 years ago

Hmm. This commit is about "move socketio options into options", which seems irrelevant to the subj, no?