Show / Hide Table of Contents

    Class ApiResponse<T>

    API Response

    Inheritance
    System.Object
    ApiResponse<T>
    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.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Algorand.Client
    Assembly: Algorand.dll
    Syntax
    public class ApiResponse<T>
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    ApiResponse(Int32, IDictionary<String, String>, T)

    Initializes a new instance of the ApiResponse<T> class.

    Declaration
    public ApiResponse(int statusCode, IDictionary<string, string> headers, T data)
    Parameters
    Type Name Description
    System.Int32 statusCode

    HTTP status code.

    System.Collections.Generic.IDictionary<System.String, System.String> headers

    HTTP headers.

    T data

    Data (parsed HTTP body)

    Properties

    | Improve this Doc View Source

    Data

    Gets or sets the data (parsed HTTP body)

    Declaration
    public T Data { get; }
    Property Value
    Type Description
    T

    The data.

    | Improve this Doc View Source

    Headers

    Gets or sets the HTTP headers

    Declaration
    public IDictionary<string, string> Headers { get; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.String>

    HTTP headers

    | Improve this Doc View Source

    StatusCode

    Gets or sets the status code (HTTP status code)

    Declaration
    public int StatusCode { get; }
    Property Value
    Type Description
    System.Int32

    The status code.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX