diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-12 01:58:50 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-12 01:58:50 -0500 |
| commit | c035f2baa1f3537d298a6559d15bd7ca40188e5d (patch) | |
| tree | bf9a2dc96c31df3a038e83eff8690b78270d1f1f /MediaBrowser.Model/Services | |
| parent | 65cb19a726a3d6fbc0f2dce6f39381672d3ea9a1 (diff) | |
update responses
Diffstat (limited to 'MediaBrowser.Model/Services')
| -rw-r--r-- | MediaBrowser.Model/Services/IHttpResult.cs | 5 | ||||
| -rw-r--r-- | MediaBrowser.Model/Services/IRequest.cs | 16 |
2 files changed, 0 insertions, 21 deletions
diff --git a/MediaBrowser.Model/Services/IHttpResult.cs b/MediaBrowser.Model/Services/IHttpResult.cs index 36ffeb2847..fcb137c6b0 100644 --- a/MediaBrowser.Model/Services/IHttpResult.cs +++ b/MediaBrowser.Model/Services/IHttpResult.cs @@ -20,11 +20,6 @@ namespace MediaBrowser.Model.Services HttpStatusCode StatusCode { get; set; } /// <summary> - /// The HTTP Status Description - /// </summary> - string StatusDescription { get; set; } - - /// <summary> /// The HTTP Response ContentType /// </summary> string ContentType { get; set; } diff --git a/MediaBrowser.Model/Services/IRequest.cs b/MediaBrowser.Model/Services/IRequest.cs index 5a4d240074..455a69d372 100644 --- a/MediaBrowser.Model/Services/IRequest.cs +++ b/MediaBrowser.Model/Services/IRequest.cs @@ -137,34 +137,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> void Flush(); |
