diff options
Diffstat (limited to 'MediaBrowser.Common/Net/HttpResponseInfo.cs')
| -rw-r--r-- | MediaBrowser.Common/Net/HttpResponseInfo.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/HttpResponseInfo.cs b/MediaBrowser.Common/Net/HttpResponseInfo.cs new file mode 100644 index 000000000..558218ed1 --- /dev/null +++ b/MediaBrowser.Common/Net/HttpResponseInfo.cs @@ -0,0 +1,29 @@ +using System.IO; +using System.Net; + +namespace MediaBrowser.Common.Net +{ + /// <summary> + /// Class HttpResponseInfo + /// </summary> + public class HttpResponseInfo + { + /// <summary> + /// Gets or sets the type of the content. + /// </summary> + /// <value>The type of the content.</value> + public string ContentType { get; set; } + + /// <summary> + /// Gets or sets the content. + /// </summary> + /// <value>The content.</value> + public Stream Content { get; set; } + + /// <summary> + /// Gets or sets the status code. + /// </summary> + /// <value>The status code.</value> + public HttpStatusCode StatusCode { get; set; } + } +} |
