Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Edited Issue: Cannot set the "Sec-WebSocket-Protocol" header in WinRT websockets [206]

$
0
0
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.

Viewing all articles
Browse latest Browse all 4845

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>