aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs
blob: 2dd968988ce74f5134f23806e1603b33feb9e456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
        }
    }
}