Search Results for

    Show / Hide Table of Contents

    Class HttpResponseArgs

    Arguments for receiving an HTTP response.

    Inheritance
    System.Object
    HttpResponseArgs
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class HttpResponseArgs : object

    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
    Exception

    Headers

    Gets or sets the headers read from the HTTP response.

    Declaration
    public NameValueCollection Headers { get; }
    Property Value
    Type Description
    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
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0