aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Net
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-08-29 08:14:41 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-08-29 08:14:41 -0400
commit6a9dbf6ae85b4e7abcf06f7f29ef9d8b0b890876 (patch)
tree562525930bef52e56ec03295f3b3ed401e8b34aa /MediaBrowser.Controller/Net
parent7dc9c2b77f7bde8f1f383d8cfc98b06e2487ad4d (diff)
update translations
Diffstat (limited to 'MediaBrowser.Controller/Net')
-rw-r--r--MediaBrowser.Controller/Net/IHttpResultFactory.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Net/IHttpResultFactory.cs b/MediaBrowser.Controller/Net/IHttpResultFactory.cs
index 665c1f8d9..f0cfbbcfa 100644
--- a/MediaBrowser.Controller/Net/IHttpResultFactory.cs
+++ b/MediaBrowser.Controller/Net/IHttpResultFactory.cs
@@ -109,14 +109,18 @@ namespace MediaBrowser.Controller.Net
/// <param name="fileShare">The file share.</param>
/// <param name="responseHeaders">The response headers.</param>
/// <param name="isHeadRequest">if set to <c>true</c> [is head request].</param>
+ /// <param name="throttle">if set to <c>true</c> [throttle].</param>
+ /// <param name="throttleLimit">The throttle limit.</param>
/// <returns>System.Object.</returns>
object GetStaticFileResult(IRequest requestContext,
string path,
string contentType,
TimeSpan? cacheCuration = null,
FileShare fileShare = FileShare.Read,
- IDictionary<string, string> responseHeaders = null,
- bool isHeadRequest = false);
+ IDictionary<string, string> responseHeaders = null,
+ bool isHeadRequest = false,
+ bool throttle = false,
+ long throttleLimit = 0);
/// <summary>
/// Gets the optimized serialized result using cache.