Files
Aug2021-Cpp2IL-Dump/System/Net/WebSockets/WebSocketError.cs
T
2026-04-10 22:50:51 +02:00

53 lines
2.0 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Net.WebSockets
{
/// <summary>Contains the list of possible WebSocket errors.</summary>
// Token: 0x0200032C RID: 812
[Token(Token = "0x200032C")]
public enum WebSocketError
{
/// <summary>Indicates that there was no native error information for the exception.</summary>
// Token: 0x04000DF2 RID: 3570
[Token(Token = "0x4000DF2")]
Success,
/// <summary>Indicates that a WebSocket frame with an unknown opcode was received.</summary>
// Token: 0x04000DF3 RID: 3571
[Token(Token = "0x4000DF3")]
InvalidMessageType,
/// <summary>Indicates a general error.</summary>
// Token: 0x04000DF4 RID: 3572
[Token(Token = "0x4000DF4")]
Faulted,
/// <summary>Indicates that an unknown native error occurred.</summary>
// Token: 0x04000DF5 RID: 3573
[Token(Token = "0x4000DF5")]
NativeError,
/// <summary>Indicates that the incoming request was not a valid websocket request.</summary>
// Token: 0x04000DF6 RID: 3574
[Token(Token = "0x4000DF6")]
NotAWebSocket,
/// <summary>Indicates that the client requested an unsupported version of the WebSocket protocol.</summary>
// Token: 0x04000DF7 RID: 3575
[Token(Token = "0x4000DF7")]
UnsupportedVersion,
/// <summary>Indicates that the client requested an unsupported WebSocket subprotocol.</summary>
// Token: 0x04000DF8 RID: 3576
[Token(Token = "0x4000DF8")]
UnsupportedProtocol,
/// <summary>Indicates an error occurred when parsing the HTTP headers during the opening handshake.</summary>
// Token: 0x04000DF9 RID: 3577
[Token(Token = "0x4000DF9")]
HeaderError,
/// <summary>Indicates that the connection was terminated unexpectedly.</summary>
// Token: 0x04000DFA RID: 3578
[Token(Token = "0x4000DFA")]
ConnectionClosedPrematurely,
/// <summary>Indicates the WebSocket is an invalid state for the given operation (such as being closed or aborted).</summary>
// Token: 0x04000DFB RID: 3579
[Token(Token = "0x4000DFB")]
InvalidState
}
}