mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 07:10:45 +00:00
Added IHttpResultFactory
This commit is contained in:
parent
bf9f0bc534
commit
332f635939
5 changed files with 27 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue