Uwaa/HTTP/Websockets/CloseStatus.cs

16 lines
380 B
C#
Raw Normal View History

2024-11-22 07:40:43 +01:00
namespace Uwaa.HTTP.Websockets;
public enum CloseStatus : ushort
{
NormalClosure = 1000,
EndpointUnavailable = 1001,
ProtocolError = 1002,
InvalidMessageType = 1003,
Empty = 1005,
AbnormalClosure = 1006,
InvalidPayloadData = 1007,
PolicyViolation = 1008,
MessageTooBig = 1009,
MandatoryExtension = 1010,
InternalServerError = 1011
}