WebSocketListener
WebSocketListener copied to clipboard
WebSocketHandshaker.ParseWebSocketProtocol throws a NullReferenceException
This occurs because SubProtocolsSet is null even when SubProtocols is set to something in WebSocketListenerOptions. A workaround is to Clone the options after creating them.
Thanks! I will take a look