This repository was archived by the owner on Oct 19, 2019. It is now read-only.

Description
Unable to read CloseFrame content while closing SuperWebsocket. I see that intentionally you have commented out these lines and not passing them to the callers.
I'm dealing with a device which sends different OpCodes and reason while closing the connection, the current implementation doesn't allow them. Can I raise PR to address this issue ? I have made necessary changes.
Changes I have done:
-
Modified WebSocketSession class Close method to capture the reasonText.
-
Modified the SuperWebSocket.Command.Close<TWebSocketSession> class by uncommenting the code to extract the close frame content and pass that in the Close method.