System.Net.WebSockets.WebSocketCloseStatus
namespace System.Net.WebSockets
{
public enum WebSocketCloseStatus
{
Empty = 1005,
EndpointUnavailable = 1001,
InternalServerError = 1011,
InvalidMessageType = 1003,
InvalidPayloadData = 1007,
MandatoryExtension = 1010,
MessageTooBig = 1009,
NormalClosure = 1000,
PolicyViolation = 1008,
ProtocolError = 1002
}
}