diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-08-15 17:59:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-15 17:59:28 -0400 |
| commit | 02a4b90f65bdee74e65cd0549e4ad691c8e1eea8 (patch) | |
| tree | 7b7e42a40f4289845804b3036a5454499e175655 /MediaBrowser.Controller/Net/IHttpResultFactory.cs | |
| parent | 6186e3a4ff6614552e008d93add8fdcd744ae018 (diff) | |
| parent | 7d16988b1b81cc73608c07d61eabb83f8fcbbb05 (diff) | |
Merge pull request #2025 from softworkz/AsyncStreamInterface
Async stream handling: Use interface instead of Func<Stream,Task>
Diffstat (limited to 'MediaBrowser.Controller/Net/IHttpResultFactory.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/IHttpResultFactory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Net/IHttpResultFactory.cs b/MediaBrowser.Controller/Net/IHttpResultFactory.cs index 49d4614d8..8fdb1ce37 100644 --- a/MediaBrowser.Controller/Net/IHttpResultFactory.cs +++ b/MediaBrowser.Controller/Net/IHttpResultFactory.cs @@ -28,7 +28,7 @@ namespace MediaBrowser.Controller.Net /// <returns>System.Object.</returns> object GetResult(object content, string contentType, IDictionary<string,string> responseHeaders = null); - object GetAsyncStreamWriter(Func<Stream,Task> streamWriter, IDictionary<string, string> responseHeaders = null); + object GetAsyncStreamWriter(IAsyncStreamSource streamSource); /// <summary> /// Gets the optimized result. |
