Struct Response
Response to a REST Call.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities
Assembly: cs.temp.dll.dll
Syntax
public struct Response
Constructors
Response(Boolean, String, Byte[], Int64)
Constructor.
Declaration
public Response(bool successful, string responseBody, byte[] responseData, long responseCode)
Parameters
Type | Name | Description |
---|---|---|
Boolean | successful | |
String | responseBody | |
Byte[] | responseData | |
Int64 | responseCode |
Properties
ResponseBody
Response body from the resource.
Declaration
public string ResponseBody { get; }
Property Value
Type | Description |
---|---|
String |
ResponseCode
Response code from the resource.
Declaration
public long ResponseCode { get; }
Property Value
Type | Description |
---|---|
Int64 |
ResponseData
Response data from the resource.
Declaration
public byte[] ResponseData { get; }
Property Value
Type | Description |
---|---|
Byte[] |
Successful
Was the REST call successful?
Declaration
public bool Successful { get; }
Property Value
Type | Description |
---|---|
Boolean |