using System; using Cpp2IlInjected; namespace System.Net.WebSockets { /// Defines the different states a WebSockets instance can be in. // Token: 0x02000330 RID: 816 [Token(Token = "0x2000330")] public enum WebSocketState { /// Reserved for future use. // Token: 0x04000E07 RID: 3591 [Token(Token = "0x4000E07")] None, /// The connection is negotiating the handshake with the remote endpoint. // Token: 0x04000E08 RID: 3592 [Token(Token = "0x4000E08")] Connecting, /// The initial state after the HTTP handshake has been completed. // Token: 0x04000E09 RID: 3593 [Token(Token = "0x4000E09")] Open, /// A close message was sent to the remote endpoint. // Token: 0x04000E0A RID: 3594 [Token(Token = "0x4000E0A")] CloseSent, /// A close message was received from the remote endpoint. // Token: 0x04000E0B RID: 3595 [Token(Token = "0x4000E0B")] CloseReceived, /// Indicates the WebSocket close handshake completed gracefully. // Token: 0x04000E0C RID: 3596 [Token(Token = "0x4000E0C")] Closed, /// Reserved for future use. // Token: 0x04000E0D RID: 3597 [Token(Token = "0x4000E0D")] Aborted } }