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: 0x02000327 RID: 807
[Token(Token = "0x2000327")]
public enum WebSocketCloseStatus
{
/// (1000) The connection has closed after the request was fulfilled.
// Token: 0x04000DDA RID: 3546
[Token(Token = "0x4000DDA")]
NormalClosure = 1000,
/// (1001) Indicates an endpoint is being removed. Either the server or client will become unavailable.
// Token: 0x04000DDB RID: 3547
[Token(Token = "0x4000DDB")]
EndpointUnavailable,
/// (1002) The client or server is terminating the connection because of a protocol error.
// Token: 0x04000DDC RID: 3548
[Token(Token = "0x4000DDC")]
ProtocolError,
/// (1003) The client or server is terminating the connection because it cannot accept the data type it received.
// Token: 0x04000DDD RID: 3549
[Token(Token = "0x4000DDD")]
InvalidMessageType,
/// No error specified.
// Token: 0x04000DDE RID: 3550
[Token(Token = "0x4000DDE")]
Empty = 1005,
/// (1007) The client or server is terminating the connection because it has received data inconsistent with the message type.
// Token: 0x04000DDF RID: 3551
[Token(Token = "0x4000DDF")]
InvalidPayloadData = 1007,
/// (1008) The connection will be closed because an endpoint has received a message that violates its policy.
// Token: 0x04000DE0 RID: 3552
[Token(Token = "0x4000DE0")]
PolicyViolation,
/// (1004) Reserved for future use.
// Token: 0x04000DE1 RID: 3553
[Token(Token = "0x4000DE1")]
MessageTooBig,
/// (1010) The client is terminating the connection because it expected the server to negotiate an extension.
// Token: 0x04000DE2 RID: 3554
[Token(Token = "0x4000DE2")]
MandatoryExtension,
/// The connection will be closed by the server because of an error on the server.
// Token: 0x04000DE3 RID: 3555
[Token(Token = "0x4000DE3")]
InternalServerError
}
}