From 0765fd568f9b5572bc41e8352cf188beb60ca2f0 Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Sat, 1 Jan 2022 09:59:25 -0700 Subject: Use IAuthorizationContext for websocket --- Emby.Server.Implementations/HttpServer/WebSocketConnection.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'Emby.Server.Implementations/HttpServer/WebSocketConnection.cs') diff --git a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs index b3bd3421a..b87f1bc22 100644 --- a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs +++ b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs @@ -42,17 +42,14 @@ namespace Emby.Server.Implementations.HttpServer /// The logger. /// The socket. /// The remote end point. - /// The query. public WebSocketConnection( ILogger logger, WebSocket socket, - IPAddress? remoteEndPoint, - IQueryCollection query) + IPAddress? remoteEndPoint) { _logger = logger; _socket = socket; RemoteEndPoint = remoteEndPoint; - QueryString = query; _jsonOptions = JsonDefaults.Options; LastActivityDate = DateTime.Now; @@ -81,12 +78,6 @@ namespace Emby.Server.Implementations.HttpServer /// public DateTime LastKeepAliveDate { get; set; } - /// - /// Gets the query string. - /// - /// The query string. - public IQueryCollection QueryString { get; } - /// /// Gets the state. /// -- cgit v1.2.3