dotnet-core/release-notes/3.0/api-diff/Asp.Net/3.0.0_Microsoft.AspNetCore.WebSockets.md
2019-10-10 13:57:00 -07:00

1.1 KiB

Microsoft.AspNetCore.WebSockets

 {
     namespace Microsoft.AspNetCore.WebSockets {
         public class WebSocketMiddleware {
-            public WebSocketMiddleware(RequestDelegate next, IOptions<WebSocketOptions> options);

         }
     }
-    namespace Microsoft.AspNetCore.WebSockets.Internal {
 {
-        public static class Constants {
 {
-            public static class Headers {
 {
-                public const string Connection = "Connection";

-                public const string ConnectionUpgrade = "Upgrade";

-                public const string SecWebSocketAccept = "Sec-WebSocket-Accept";

-                public const string SecWebSocketKey = "Sec-WebSocket-Key";

-                public const string SecWebSocketProtocol = "Sec-WebSocket-Protocol";

-                public const string SecWebSocketVersion = "Sec-WebSocket-Version";

-                public const string SupportedVersion = "13";

-                public const string Upgrade = "Upgrade";

-                public const string UpgradeWebSocket = "websocket";

-            }
-        }
-    }
 }