zdk.net
Public Member Functions | Public Attributes | Properties | List of all members
ZDK_NET::BanafoRequestState Class Reference

Banafo Request state. More...

#include <BanafoRequestState.h>

Inheritance diagram for ZDK_NET::BanafoRequestState:
ZDK_NET::ZHandle

Public Member Functions

 BanafoRequestState (ZDK::Shared::BanafoRequestState src)
 
virtual long long Handle () override
 
virtual void Initialize () override
 
virtual void ReleaseReference () override
 

Public Attributes

ZDK::IBanafoRequestState * cppRef = nullptr
 

Properties

ZDK_NET::BanafoRequestStateType State [get]
 The Banafo Service Request state. More...
 
int NetworkStatusCode [get]
 The network status code. More...
 
System::String^ Reason [get]
 HTTP failure reason. More...
 
System::String^ Response [get]
 The response data buffer. More...
 
ZDK_NET::UploadProgressProgress [get]
 The upload progress. More...
 

Detailed Description

Banafo Request state.

Describes the current full state of the Banafo Service request.

Property Documentation

◆ NetworkStatusCode

int ZDK_NET::BanafoRequestState::NetworkStatusCode
get

The network status code.

Contains the network state code if the new state is BanafoRequestStateType::NetworkError or BanafoRequestStateType::Finished. If the code is below 100 it is a CURL error code and its value can be checked here https:

If the code is above 100 it is a HTTP error code.

Returns
The network status code
See also
State()

◆ Progress

ZDK_NET:: UploadProgress^ ZDK_NET::BanafoRequestState::Progress
get

The upload progress.

Contains the upload progress if the state is BanafoRequestStateType::InProgress.

Returns
The upload progress
See also
UploadProgress, State()

◆ Reason

System:: String^ ZDK_NET::BanafoRequestState::Reason
get

HTTP failure reason.

Contains the HTTP failure reason.

Returns
The HTTP failure reason.

◆ Response

System:: String^ ZDK_NET::BanafoRequestState::Response
get

The response data buffer.

Contains the response data buffer if the state is BanafoRequestStateType::Finished.

Returns
The response data buffer

◆ State

ZDK_NET:: BanafoRequestStateType ZDK_NET::BanafoRequestState::State
get

The Banafo Service Request state.

Indicates the new state in which the Banafo Service Request has transitioned into.

Returns
The new Banafo Service Request state
See also
BanafoRequestStateType

The documentation for this class was generated from the following file: