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
intstatusText
stringdata
Reserror
dynamicresponse
HttpResponseMessageheaders
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
Response
public HttpResponseMessage? Response
Field Value
Status
public int Status
Field Value
StatusText
public string StatusText