mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07:00
19 lines
456 B
C#
19 lines
456 B
C#
|
using ServiceStack.Web;
|
|||
|
using System.IO;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace MediaBrowser.Controller.Net
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Interface IAsyncStreamSource
|
|||
|
/// Enables asynchronous writing to http resonse streams
|
|||
|
/// </summary>
|
|||
|
public interface IAsyncStreamSource
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Asynchronously write to the response stream.
|
|||
|
/// </summary>
|
|||
|
Task WriteToAsync(Stream responseStream);
|
|||
|
}
|
|||
|
}
|