aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpResponse.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-03-12 15:28:28 -0400
committerGitHub <noreply@github.com>2017-03-12 15:28:28 -0400
commit7ae1de52b45267e399b6cbbaa423665bb006bf79 (patch)
tree227cb95db1ddc171c078ce9bc6f8f717cc2e9e20 /Emby.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpResponse.cs
parent3962361ad9940e0c8b2e6d4aea4fc6b1cdd88553 (diff)
parent5e821947491c07eb65db4653db674af55bc4e90b (diff)
Merge pull request #2523 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpResponse.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpResponse.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpResponse.cs b/Emby.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpResponse.cs
index 36f795411..a497ee715 100644
--- a/Emby.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpResponse.cs
+++ b/Emby.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpResponse.cs
@@ -3,6 +3,9 @@ using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using MediaBrowser.Model.IO;
using MediaBrowser.Model.Logging;
using SocketHttpListener.Net;
using HttpListenerResponse = SocketHttpListener.Net.HttpListenerResponse;
@@ -189,5 +192,10 @@ namespace Emby.Server.Implementations.HttpServer.SocketSharp
public void ClearCookies()
{
}
+
+ public Task TransmitFile(string path, long offset, long count, CancellationToken cancellationToken)
+ {
+ return _response.TransmitFile(path, offset, count, cancellationToken);
+ }
}
}