using System; using Cpp2IlInjected; namespace System.Net.WebSockets { /// Contains the list of possible WebSocket errors. // Token: 0x02000328 RID: 808 [Token(Token = "0x2000328")] public enum WebSocketError { /// Indicates that there was no native error information for the exception. // Token: 0x04000DE5 RID: 3557 [Token(Token = "0x4000DE5")] Success, /// Indicates that a WebSocket frame with an unknown opcode was received. // Token: 0x04000DE6 RID: 3558 [Token(Token = "0x4000DE6")] InvalidMessageType, /// Indicates a general error. // Token: 0x04000DE7 RID: 3559 [Token(Token = "0x4000DE7")] Faulted, /// Indicates that an unknown native error occurred. // Token: 0x04000DE8 RID: 3560 [Token(Token = "0x4000DE8")] NativeError, /// Indicates that the incoming request was not a valid websocket request. // Token: 0x04000DE9 RID: 3561 [Token(Token = "0x4000DE9")] NotAWebSocket, /// Indicates that the client requested an unsupported version of the WebSocket protocol. // Token: 0x04000DEA RID: 3562 [Token(Token = "0x4000DEA")] UnsupportedVersion, /// Indicates that the client requested an unsupported WebSocket subprotocol. // Token: 0x04000DEB RID: 3563 [Token(Token = "0x4000DEB")] UnsupportedProtocol, /// Indicates an error occurred when parsing the HTTP headers during the opening handshake. // Token: 0x04000DEC RID: 3564 [Token(Token = "0x4000DEC")] HeaderError, /// Indicates that the connection was terminated unexpectedly. // Token: 0x04000DED RID: 3565 [Token(Token = "0x4000DED")] ConnectionClosedPrematurely, /// Indicates the WebSocket is an invalid state for the given operation (such as being closed or aborted). // Token: 0x04000DEE RID: 3566 [Token(Token = "0x4000DEE")] InvalidState } }