This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
using System;
using Cpp2IlInjected;
namespace System.Net.WebSockets
{
/// <summary>Contains the list of possible WebSocket errors.</summary>
// Token: 0x02000328 RID: 808
[Token(Token = "0x2000328")]
public enum WebSocketError
{
/// <summary>Indicates that there was no native error information for the exception.</summary>
// Token: 0x04000DE5 RID: 3557
[Token(Token = "0x4000DE5")]
Success,
/// <summary>Indicates that a WebSocket frame with an unknown opcode was received.</summary>
// Token: 0x04000DE6 RID: 3558
[Token(Token = "0x4000DE6")]
InvalidMessageType,
/// <summary>Indicates a general error.</summary>
// Token: 0x04000DE7 RID: 3559
[Token(Token = "0x4000DE7")]
Faulted,
/// <summary>Indicates that an unknown native error occurred.</summary>
// Token: 0x04000DE8 RID: 3560
[Token(Token = "0x4000DE8")]
NativeError,
/// <summary>Indicates that the incoming request was not a valid websocket request.</summary>
// Token: 0x04000DE9 RID: 3561
[Token(Token = "0x4000DE9")]
NotAWebSocket,
/// <summary>Indicates that the client requested an unsupported version of the WebSocket protocol.</summary>
// Token: 0x04000DEA RID: 3562
[Token(Token = "0x4000DEA")]
UnsupportedVersion,
/// <summary>Indicates that the client requested an unsupported WebSocket subprotocol.</summary>
// Token: 0x04000DEB RID: 3563
[Token(Token = "0x4000DEB")]
UnsupportedProtocol,
/// <summary>Indicates an error occurred when parsing the HTTP headers during the opening handshake.</summary>
// Token: 0x04000DEC RID: 3564
[Token(Token = "0x4000DEC")]
HeaderError,
/// <summary>Indicates that the connection was terminated unexpectedly.</summary>
// Token: 0x04000DED RID: 3565
[Token(Token = "0x4000DED")]
ConnectionClosedPrematurely,
/// <summary>Indicates the WebSocket is an invalid state for the given operation (such as being closed or aborted).</summary>
// Token: 0x04000DEE RID: 3566
[Token(Token = "0x4000DEE")]
InvalidState
}
}