aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
diff options
context:
space:
mode:
authorClaus Vium <clausvium@gmail.com>2019-02-26 22:53:59 +0100
committerClaus Vium <clausvium@gmail.com>2019-02-26 22:53:59 +0100
commit5510e8ebee743a3d07571051660b514d6cce973c (patch)
tree5fdd1d7aa35c193bc5b8a2b37fc4e6da2aa801e4 /Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
parent9c02e99e35fa6811502944b19dd1479750ff8f20 (diff)
Remove unused Cookies
Diffstat (limited to 'Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs')
-rw-r--r--Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs19
1 files changed, 0 insertions, 19 deletions
diff --git a/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs b/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
index 35fff0821..38d033230 100644
--- a/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
+++ b/Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
@@ -412,25 +412,6 @@ namespace Emby.Server.Implementations.SocketSharp
return path.Length > 1 ? path.TrimEnd('/') : "/";
}
- private Dictionary<string, System.Net.Cookie> cookies;
- public IDictionary<string, System.Net.Cookie> Cookies
- {
- get
- {
- if (cookies == null)
- {
- cookies = new Dictionary<string, System.Net.Cookie>();
- foreach (var cookie in this.request.Cookies)
- {
- var httpCookie = cookie;
- cookies[httpCookie.Key] = new Cookie(httpCookie.Key, httpCookie.Value, "", "");
- }
- }
-
- return cookies;
- }
- }
-
public string UserAgent => request.Headers[HeaderNames.UserAgent];
public QueryParamCollection Headers => new QueryParamCollection(request.Headers);