Class HttpResponseArgs
Arguments for receiving an HTTP response.
Inheritance
System.Object
HttpResponseArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class HttpResponseArgs
Constructors
HttpResponseArgs(HttpRequestArgs)
Initializes a new instance of the HttpResponseArgs class.
Declaration
public HttpResponseArgs(HttpRequestArgs requestArgs)
Parameters
Type | Name | Description |
---|---|---|
HttpRequestArgs | requestArgs | The request arguments. |
Properties
BinaryContent
Gets or sets the binary content read from the HTTP response.
Declaration
public byte[] BinaryContent { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Exception
Gets or sets the exception generated while completing the request.
Declaration
public Exception Exception { get; set; }
Property Value
Type | Description |
---|---|
System.Exception |
Headers
Gets or sets the headers read from the HTTP response.
Declaration
public NameValueCollection Headers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Specialized.NameValueCollection |
RequestArgs
Gets or sets the original HttpRequestArgs.
Declaration
public HttpRequestArgs RequestArgs { get; set; }
Property Value
Type | Description |
---|---|
HttpRequestArgs |
Retries
Gets or sets the number of retries that were required.
Declaration
public int Retries { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StatusCode
Gets or sets the status code read from the HTTP response.
Declaration
public int StatusCode { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TextContent
Gets or sets the text content read from the HTTP response.
Declaration
public string TextContent { get; set; }
Property Value
Type | Description |
---|---|
System.String |