Class HttpResponseInfo
Class HttpResponseInfo
Inheritance
System.Object
HttpResponseInfo
Implements
System.IDisposable
Namespace: MediaBrowser.Common.Net
Assembly: MediaBrowser.Common.dll
Syntax
public sealed class HttpResponseInfo : IDisposable
Constructors
HttpResponseInfo()
Declaration
public HttpResponseInfo()
HttpResponseInfo(IDisposable[])
Declaration
public HttpResponseInfo(IDisposable[] disposables)
Parameters
Type | Name | Description |
---|---|---|
System.IDisposable[] | disposables |
Properties
Content
Gets or sets the content.
Declaration
public Stream Content { get; set; }
Property Value
Type | Description |
---|---|
System.IO.Stream | The content. |
ContentLength
Gets or sets the length of the content.
Declaration
public long? ContentLength { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | The length of the content. |
ContentType
Gets or sets the type of the content.
Declaration
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The type of the content. |
Headers
Gets or sets the headers.
Declaration
public Dictionary<string, string> Headers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | The headers. |
ResponseUrl
Gets or sets the response URL.
Declaration
public string ResponseUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The response URL. |
StatusCode
Gets or sets the status code.
Declaration
public HttpStatusCode StatusCode { get; set; }
Property Value
Type | Description |
---|---|
System.Net.HttpStatusCode | The status code. |
TempFilePath
Gets or sets the temp file path.
Declaration
public string TempFilePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The temp file path. |
Methods
Dispose()
Declaration
public void Dispose()
Implements
System.IDisposable