2016-10-23 23:11:45 +00:00
|
|
|
|
using System.IO;
|
2016-08-05 04:08:11 +00:00
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|