Websocket authentication

Feb 9, 2012 at 12:37 PM

Reference:

https://github.com/LearnBoost/socket.io/wiki/Authorizing


In my case we have a multitude of api services running and all expects a header to be sent to the api service when a new connection is established in order to validate their api key. 

So i'm wondering is it possible to send a custom header when the connection is established? 

Coordinator
Feb 9, 2012 at 12:42 PM

Great, I'll try to support it.

Feb 9, 2012 at 12:48 PM

Awesome! Looking forward to removing my spaghetti code that workaround :)

Coordinator
Feb 12, 2012 at 10:50 AM

Ok now, please download latest source code!

Feb 13, 2012 at 11:24 AM

I'm checking it out right now, will give you feedback later on today :)