Annoyingly, "Sec-WebSocket-Protocol" is treated as a reserved-word by MessageWebSocket. If you try to set that header, you get a Platform::COMException^.
We will have to use the MessageWebSocket::SupportedProtocol API to set this.
Options:
1. Add code to handle this header separately
2. Add a new API to specify the sub protocol values.
Reported by XBOX team.
We will have to use the MessageWebSocket::SupportedProtocol API to set this.
Options:
1. Add code to handle this header separately
2. Add a new API to specify the sub protocol values.
Reported by XBOX team.