Added IHttpResultFactory

This commit is contained in:
LukePulverenti
2013-03-08 12:25:25 -05:00
parent bf9f0bc534
commit 332f635939
5 changed files with 27 additions and 0 deletions

View File

@@ -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);
}
}
}