DIFF

class BackendCallbackSource

BackendCallback Managed

All members, including inherited

Methods 4

void OnDataReceive(string data, int size)

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

data
Contain received data, may be JSON, plain text, XML or image
size
References Print()
void OnError(int code)

Request finished with error result

code
Error code is type of EBackendError
void OnSuccess(int code)

Request finished with success result

code
Code is type of EBackendRequest
References Print()
void OnTimeout()

Request not finished due to timeout

References Print()