You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When client sends handshake it should be able to set "Sec-WebSocket-Protocol" header to establish connection, also Server should send "Sec-WebSocket-Protocol" header in handshake response
Current Behavior
No "Sec-WebSocket-Protocol" supported
Possible Solution
Update Draft_6455 class at least to return "Sec-WebSocket-Protocol" in server response, and think how customize client request post processing to set "Sec-WebSocket-Protocol" header value.
The text was updated successfully, but these errors were encountered:
I implemented some changes on this branch.
Could you please take a look at this and tell me if this is sufficient. Thank you!
To apply a protocol, you have to use call the constructor of the Draft_6455 the following way! new Draft_6455( Collections.<IExtension>emptyList(), Collections.<IProtocol>singletonList( new Protocol( "chat" )))
This adds the Sec-WebSocket-Protocol "chat" to the handshake and the connection!
Expected Behavior
When client sends handshake it should be able to set "Sec-WebSocket-Protocol" header to establish connection, also Server should send "Sec-WebSocket-Protocol" header in handshake response
Current Behavior
No "Sec-WebSocket-Protocol" supported
Possible Solution
Update Draft_6455 class at least to return "Sec-WebSocket-Protocol" in server response, and think how customize client request post processing to set "Sec-WebSocket-Protocol" header value.
The text was updated successfully, but these errors were encountered: