mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 14:23:53 +01: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);
|
|
}
|
|
}
|
|
}
|