aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-11-12 02:49:33 -0500
committerGitHub <noreply@github.com>2016-11-12 02:49:33 -0500
commitd5197eabb0b2ac375cd7610aa7cc4a7e61a88245 (patch)
tree0f05bf569a19c75b9654af69d8356c67ff0c2de0 /MediaBrowser.Model
parent67b69ceb9418ef530296238d1776894b675f4c5e (diff)
parent6865bb53530abbf703b590dd39cfa27274b03107 (diff)
Merge pull request #2283 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Model')
-rw-r--r--MediaBrowser.Model/Services/IHttpResult.cs5
-rw-r--r--MediaBrowser.Model/Services/IRequest.cs29
2 files changed, 0 insertions, 34 deletions
diff --git a/MediaBrowser.Model/Services/IHttpResult.cs b/MediaBrowser.Model/Services/IHttpResult.cs
index 36ffeb284..fcb137c6b 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 5a4d24007..e9a9f1c5b 100644
--- a/MediaBrowser.Model/Services/IRequest.cs
+++ b/MediaBrowser.Model/Services/IRequest.cs
@@ -137,47 +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();
-
- /// <summary>
/// Gets a value indicating whether this instance is closed.
/// </summary>
bool IsClosed { get; }
void SetContentLength(long contentLength);
- bool KeepAlive { get; set; }
-
//Add Metadata to Response
Dictionary<string, object> Items { get; }
}