mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Added IHttpResultFactory
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user