Table of Contents

Class ClientResponse<Res>

Namespace
Aptos
Assembly
Aptos.dll
public class ClientResponse<Res>

Type Parameters

Res
Inheritance
ClientResponse<Res>
Inherited Members

Constructors

ClientResponse(int, string, Res?, dynamic?, HttpResponseMessage?, Dictionary<string, string>?)

public ClientResponse(int status, string statusText, Res? data, dynamic? error = null, HttpResponseMessage? response = null, Dictionary<string, string>? headers = null)

Parameters

status int
statusText string
data Res
error dynamic
response HttpResponseMessage
headers Dictionary<string, string>

Fields

Data

public Res? Data

Field Value

Res

Error

The error object returned by the API. This can be a JObject or a string.

public dynamic? Error

Field Value

dynamic

Headers

public Dictionary<string, string>? Headers

Field Value

Dictionary<string, string>

Response

public HttpResponseMessage? Response

Field Value

HttpResponseMessage

Status

public int Status

Field Value

int

StatusText

public string StatusText

Field Value

string