diff options
| author | Michalis Adamidis <gsnerf@gsnerf.de> | 2014-08-30 02:05:33 +0200 |
|---|---|---|
| committer | Michalis Adamidis <gsnerf@gsnerf.de> | 2014-08-30 02:05:33 +0200 |
| commit | 7c5613fc51738cb3af1ce3e7ada9eb19a54b3aed (patch) | |
| tree | dfd23a717d87e1da776a74f9952a5fae8f215b4a /MediaBrowser.Controller/Net/IHttpResultFactory.cs | |
| parent | 5740a4c22d676d0050e875b0bd5455f5a303f5bd (diff) | |
| parent | 6a9dbf6ae85b4e7abcf06f7f29ef9d8b0b890876 (diff) | |
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Controller/Net/IHttpResultFactory.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/IHttpResultFactory.cs | 8 |
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. |
