using System;
using Cpp2IlInjected;
namespace System.Net.WebSockets
{
/// Defines the different states a WebSockets instance can be in.
// Token: 0x0200032C RID: 812
[Token(Token = "0x200032C")]
public enum WebSocketState
{
/// Reserved for future use.
// Token: 0x04000DFA RID: 3578
[Token(Token = "0x4000DFA")]
None,
/// The connection is negotiating the handshake with the remote endpoint.
// Token: 0x04000DFB RID: 3579
[Token(Token = "0x4000DFB")]
Connecting,
/// The initial state after the HTTP handshake has been completed.
// Token: 0x04000DFC RID: 3580
[Token(Token = "0x4000DFC")]
Open,
/// A close message was sent to the remote endpoint.
// Token: 0x04000DFD RID: 3581
[Token(Token = "0x4000DFD")]
CloseSent,
/// A close message was received from the remote endpoint.
// Token: 0x04000DFE RID: 3582
[Token(Token = "0x4000DFE")]
CloseReceived,
/// Indicates the WebSocket close handshake completed gracefully.
// Token: 0x04000DFF RID: 3583
[Token(Token = "0x4000DFF")]
Closed,
/// Reserved for future use.
// Token: 0x04000E00 RID: 3584
[Token(Token = "0x4000E00")]
Aborted
}
}