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