Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

41 lines
1.3 KiB
C#

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