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