Interface IAlgoApiResponse
Namespace: Algorand.Unity
Assembly: cs.temp.dll.dll
Syntax
public interface IAlgoApiResponse
Properties
ContentType
The ContentType found in the Response header
Declaration
ContentType ContentType { get; }
Property Value
Type | Description |
---|---|
ContentType |
Data
Raw downloaded data
Declaration
byte[] Data { get; }
Property Value
Type | Description |
---|---|
Byte[] |
Error
An ErrorResponse that is populated if there is an error. Check IsError to see if there was an error.
Declaration
ErrorResponse Error { get; }
Property Value
Type | Description |
---|---|
ErrorResponse |
ResponseCode
HTTP status code
Declaration
long ResponseCode { get; }
Property Value
Type | Description |
---|---|
Int64 |
Status
A
Declaration
Result Status { get; }
Property Value
Type | Description |
---|---|
Result |
Methods
GetText()
Parses the Data into a string based on ContentType
Declaration
string GetText()
Returns
Type | Description |
---|---|
String | A string encoded from Data |