{
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";
- }
- }
- }
}