LearnBoost / websocket.io

329 stars 59 forks source link

Missing "protocol" header for HyBi connections #24

Closed nicokaiser closed 12 years ago

nicokaiser commented 12 years ago

The HyBi implementations silently discard the "sec-websocket-protocol" header sent by the client. It should be returned when the connection is established.

Also, the protocol should be exposed in the Socket object to enable the server to check for a specific protocol.