aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener.Portable/Net/HttpListenerResponse.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-03-13 00:08:23 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-03-13 00:08:23 -0400
commitb38b7a706268fe5d92d8cbe703a188b58ed7ec4d (patch)
tree10e7ed3d900edd66d4d2d0f41e8512b38f70f907 /SocketHttpListener.Portable/Net/HttpListenerResponse.cs
parent5e821947491c07eb65db4653db674af55bc4e90b (diff)
rework filestream
Diffstat (limited to 'SocketHttpListener.Portable/Net/HttpListenerResponse.cs')
-rw-r--r--SocketHttpListener.Portable/Net/HttpListenerResponse.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/SocketHttpListener.Portable/Net/HttpListenerResponse.cs b/SocketHttpListener.Portable/Net/HttpListenerResponse.cs
index d8011f05e..d9f91c0cc 100644
--- a/SocketHttpListener.Portable/Net/HttpListenerResponse.cs
+++ b/SocketHttpListener.Portable/Net/HttpListenerResponse.cs
@@ -515,9 +515,9 @@ namespace SocketHttpListener.Net
cookies.Add(cookie);
}
- public Task TransmitFile(string path, long offset, long count, CancellationToken cancellationToken)
+ public Task TransmitFile(string path, long offset, long count, FileShareMode fileShareMode, CancellationToken cancellationToken)
{
- return ((ResponseStream)OutputStream).TransmitFile(path, offset, count, cancellationToken);
+ return ((ResponseStream)OutputStream).TransmitFile(path, offset, count, fileShareMode, cancellationToken);
}
}
} \ No newline at end of file