PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
BackendCallback Class Reference

Private Member Functions

void OnDataReceive (string data, int size)
 Called when data were recieved, you can ignore it when using callback to JsonStruct object with expand feature.
 
void OnError (int code)
 Request finished with error result.
 
void OnSuccess (int code)
 Request finished with success result.
 
void OnTimeout ()
 Request not finished due to timeout.
 

Member Function Documentation

◆ OnDataReceive()

void OnDataReceive ( string  data,
int  size 
)
inlineprivate

Called when data were recieved, you can ignore it when using callback to JsonStruct object with expand feature.

Parameters
dataContain received data, may be JSON, plain text, XML or image
size

References Print().

◆ OnError()

void OnError ( int  code)
inlineprivate

Request finished with error result.

Parameters
codeError code is type of EBackendError

References GetBackendApi(), and Print().

◆ OnSuccess()

void OnSuccess ( int  code)
inlineprivate

Request finished with success result.

Parameters
codeCode is type of EBackendRequest

References Print().

◆ OnTimeout()

void OnTimeout ( )
inlineprivate

Request not finished due to timeout.

References Print().


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