Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
RestCallback Interface Reference
Inheritance diagram for RestCallback:
[legend]

Public Member Functions

void OnError (int errorCode)
 Called in case request failed (ERestResult) - Note! May be called multiple times in case of (RetryCount > 1)
 
void OnTimeout ()
 Called in case request timed out or handled improperly (no error, no success, no data)
 
void OnSuccess (string data, int dataSize)
 Called when data arrived and/ or response processed successfully.
 
void OnFileCreated (string fileName, int dataSize)
 Called when data arrived and/ or file created successfully.
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Member Function Documentation

◆ OnError()

void RestCallback.OnError ( int  errorCode)

Called in case request failed (ERestResult) - Note! May be called multiple times in case of (RetryCount > 1)

◆ OnFileCreated()

void RestCallback.OnFileCreated ( string  fileName,
int  dataSize 
)

Called when data arrived and/ or file created successfully.

◆ OnSuccess()

void RestCallback.OnSuccess ( string  data,
int  dataSize 
)

Called when data arrived and/ or response processed successfully.

◆ OnTimeout()

void RestCallback.OnTimeout ( )

Called in case request timed out or handled improperly (no error, no success, no data)


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