using System; using Cpp2IlInjected; namespace System.Net.WebSockets { /// Represents well known WebSocket close codes as defined in section 11.7 of the WebSocket protocol spec. // Token: 0x0200032B RID: 811 [Token(Token = "0x200032B")] public enum WebSocketCloseStatus { /// (1000) The connection has closed after the request was fulfilled. // Token: 0x04000DE7 RID: 3559 [Token(Token = "0x4000DE7")] NormalClosure = 1000, /// (1001) Indicates an endpoint is being removed. Either the server or client will become unavailable. // Token: 0x04000DE8 RID: 3560 [Token(Token = "0x4000DE8")] EndpointUnavailable, /// (1002) The client or server is terminating the connection because of a protocol error. // Token: 0x04000DE9 RID: 3561 [Token(Token = "0x4000DE9")] ProtocolError, /// (1003) The client or server is terminating the connection because it cannot accept the data type it received. // Token: 0x04000DEA RID: 3562 [Token(Token = "0x4000DEA")] InvalidMessageType, /// No error specified. // Token: 0x04000DEB RID: 3563 [Token(Token = "0x4000DEB")] Empty = 1005, /// (1007) The client or server is terminating the connection because it has received data inconsistent with the message type. // Token: 0x04000DEC RID: 3564 [Token(Token = "0x4000DEC")] InvalidPayloadData = 1007, /// (1008) The connection will be closed because an endpoint has received a message that violates its policy. // Token: 0x04000DED RID: 3565 [Token(Token = "0x4000DED")] PolicyViolation, /// (1004) Reserved for future use. // Token: 0x04000DEE RID: 3566 [Token(Token = "0x4000DEE")] MessageTooBig, /// (1010) The client is terminating the connection because it expected the server to negotiate an extension. // Token: 0x04000DEF RID: 3567 [Token(Token = "0x4000DEF")] MandatoryExtension, /// The connection will be closed by the server because of an error on the server. // Token: 0x04000DF0 RID: 3568 [Token(Token = "0x4000DF0")] InternalServerError } }