diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-08 12:25:25 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-08 12:25:25 -0500 |
| commit | 332f6359398b4a26df283ee3dbda40f7c3eaacc0 (patch) | |
| tree | ed1e85926c07914a7a9cfa8a053acc1ddbbb5d72 /MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs | |
| parent | bf9f0bc5342fad3646e7d822be1e6896910101a6 (diff) | |
Added IHttpResultFactory
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs new file mode 100644 index 000000000..2dd968988 --- /dev/null +++ b/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs @@ -0,0 +1,14 @@ +using MediaBrowser.Common.Net; +using ServiceStack.Common.Web; +using System.IO; + +namespace MediaBrowser.Server.Implementations.HttpServer +{ + public class HttpResultFactory : IHttpResultFactory + { + public object GetResult(Stream stream, string contentType) + { + return new HttpResult(stream, contentType); + } + } +} |
