| File: System\Net\WebSockets\WebSocketError.cs | Web Access |
| Project: src\runtime\src\libraries\System.Net.WebSockets\src\System.Net.WebSockets.csproj (System.Net.WebSockets) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Net.WebSockets { [System.Runtime.CompilerServices.TypeForwardedFrom("System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] public enum WebSocketError { Success = 0, InvalidMessageType = 1, Faulted = 2, NativeError = 3, NotAWebSocket = 4, UnsupportedVersion = 5, UnsupportedProtocol = 6, HeaderError = 7, ConnectionClosedPrematurely = 8, InvalidState = 9 } }