mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 12:05:04 +01:00
update responses
This commit is contained in:
@@ -19,11 +19,6 @@ namespace MediaBrowser.Model.Services
|
||||
/// </summary>
|
||||
HttpStatusCode StatusCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The HTTP Status Description
|
||||
/// </summary>
|
||||
string StatusDescription { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The HTTP Response ContentType
|
||||
/// </summary>
|
||||
|
||||
@@ -136,34 +136,18 @@ namespace MediaBrowser.Model.Services
|
||||
|
||||
Stream OutputStream { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The Response DTO
|
||||
/// </summary>
|
||||
object Dto { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Write once to the Response Stream then close it.
|
||||
/// </summary>
|
||||
/// <param name="text"></param>
|
||||
void Write(string text);
|
||||
|
||||
/// <summary>
|
||||
/// Buffer the Response OutputStream so it can be written in 1 batch
|
||||
/// </summary>
|
||||
bool UseBufferedStream { get; set; }
|
||||
|
||||
/// <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>
|
||||
/// Calls Response.End() on ASP.NET HttpResponse otherwise is an alias for Close().
|
||||
/// Useful when you want to prevent ASP.NET to provide it's own custom error page.
|
||||
/// </summary>
|
||||
void End();
|
||||
|
||||
/// <summary>
|
||||
/// Response.Flush() and OutputStream.Flush() seem to have different behaviour in ASP.NET
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user