mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
14 lines
355 B
C#
14 lines
355 B
C#
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);
|
|
}
|
|
}
|
|
}
|