mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-24 19:16:32 +00: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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -106,6 +106,7 @@
|
||||
<Compile Include="BdInfo\BdInfoExaminer.cs" />
|
||||
<Compile Include="Configuration\ServerConfigurationManager.cs" />
|
||||
<Compile Include="HttpServer\BaseRestService.cs" />
|
||||
<Compile Include="HttpServer\HttpResultFactory.cs" />
|
||||
<Compile Include="HttpServer\HttpServer.cs" />
|
||||
<Compile Include="HttpServer\NativeWebSocket.cs" />
|
||||
<Compile Include="HttpServer\ServerFactory.cs" />
|
||||
|
||||
Reference in New Issue
Block a user