mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-11 08:10:34 +02:00
18 lines
432 B
C#
18 lines
432 B
C#
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);
|
|
}
|
|
}
|