aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
diff options
context:
space:
mode:
authorClaus Vium <clausvium@gmail.com>2019-03-05 20:35:07 +0100
committerClaus Vium <clausvium@gmail.com>2019-03-05 20:35:07 +0100
commit913e80fd5527775ea71d6f9606f49c5494cb7b63 (patch)
treec6f3b3ab07dec06c31914d49dc13d2c35d7ca29b /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
parent9a4a01fb0e94d8ffbc00f5932f284f7faeb0ee69 (diff)
Add ProcessWebSocketRequest to IHttpListener
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/HttpListenerHost.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
index 293b28e74..d1b1b5b24 100644
--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -756,11 +756,10 @@ namespace Emby.Server.Implementations.HttpServer
public Task ProcessWebSocketRequest(HttpContext context)
{
- // TODO
- return ((WebSocketSharpListener)_socketListener).ProcessWebSocketRequest(context);
+ return _socketListener.ProcessWebSocketRequest(context);
}
- //TODO Add Jellyfin Route Path Normalizer
+ //TODO Add Jellyfin Route Path Normalizer
private static string NormalizeEmbyRoutePath(string path)
{
if (path.StartsWith("/", StringComparison.OrdinalIgnoreCase))