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?, object?, HttpResponseMessage?, Dictionary<string, string>?)

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

Parameters

status int
statusText string
data Res
error object
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 object? Error

Field Value

object

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