Open
Description
I implement the server and the client with WebSocketSharp v1.0.4.0
In the server i use this code to close a connection:
Sessions.CloseSession(ID, CloseStatusCode.ProtocolError, "Request is missing the Target");
In the client, i have this code:
private void WsOnOnError(object sender, ErrorEventArgs errorEventArgs)
{
Console.WriteLine($"WsOnOnError {errorEventArgs.Message} {errorEventArgs.Exception}");
}
private void WsOnOnClose(object sender, CloseEventArgs closeEventArgs)
{
Console.WriteLine($"WsOnOnClose {closeEventArgs.Reason} {closeEventArgs.Code} {closeEventArgs.WasClean}");
}
My output is:
WsOnOnClose h♥?♦_§?QS§?∟S§?↑T☺?♣R♥?%[¶?¶N 1002 True
The reason is showing corrupted text.
Metadata
Metadata
Assignees
Labels
No labels