This project is read-only.

Websocket Client get Closereason/Closecode

Mar 12, 2015 at 2:00 PM
Hi, first of all thanks for the nice work on .Net websockets! Maybe I have missed something (as I am coming from a strong Java background i am very new to c#), but I would like to see an example of howto obtain the Closereason provided by the websocket server (in this case a Java based server operating on the RFC6455). I just don't have any idea on how to get the closereason from the two arguments (object sender, EventArgs e). A short example will be much appreciated! Thanks.