mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 03:55:01 +01:00
limit access to response stream
This commit is contained in:
@@ -136,23 +136,12 @@ namespace MediaBrowser.Model.Services
|
||||
|
||||
Stream OutputStream { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Write once to the Response Stream then close it.
|
||||
/// </summary>
|
||||
/// <param name="text"></param>
|
||||
void Write(string text);
|
||||
|
||||
/// <summary>
|
||||
/// Signal that this response has been handled and no more processing should be done.
|
||||
/// When used in a request or response filter, no more filters or processing is done on this request.
|
||||
/// </summary>
|
||||
void Close();
|
||||
|
||||
/// <summary>
|
||||
/// Response.Flush() and OutputStream.Flush() seem to have different behaviour in ASP.NET
|
||||
/// </summary>
|
||||
void Flush();
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance is closed.
|
||||
/// </summary>
|
||||
@@ -160,8 +149,6 @@ namespace MediaBrowser.Model.Services
|
||||
|
||||
void SetContentLength(long contentLength);
|
||||
|
||||
bool KeepAlive { get; set; }
|
||||
|
||||
//Add Metadata to Response
|
||||
Dictionary<string, object> Items { get; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user