◆ Abort()
void CloudBuilder::CHttpFailureEventArgs::Abort |
( |
| ) |
|
|
inline |
Call this to abort the request. It won't be tried ever again.
◆ RetryIn()
void CloudBuilder::CHttpFailureEventArgs::RetryIn |
( |
int |
milliseconds | ) |
|
|
inline |
Call this to retry the request later.
- Parameters
-
milliseconds | time in which to try again. No other request will be executed during this time (they will be queued) as to respect the issuing order. Please keep this in mind when setting a high delay. |
◆ SetUserData()
void CloudBuilder::CHttpFailureEventArgs::SetUserData |
( |
intptr_t |
data, |
|
|
bool |
releaseAtTheEnd |
|
) |
| |
|
inline |
Set a pointer to user data. You can call this from the callback; in case the request fails again, this data will be set to the same value as set last time. It is always set to NULL when the request fails for the first time.
- Parameters
-
data | pointer to be set |
releaseAtTheEnd | whether to automatically free the memory (call C++ delete on the pointer) |
◆ Url()
const char* CloudBuilder::CHttpFailureEventArgs::Url |
( |
| ) |
|
|
inline |
- Returns
- the original URL that the request failed to reach
◆ UserData()
intptr_t CloudBuilder::CHttpFailureEventArgs::UserData |
( |
| ) |
|
|
inline |
You can set this member from the callback; in case the request fails again, this data will be set to the same value as set last time. It is always set to NULL when the request fails for the first time.
- Returns
- the user data as set previously
The documentation for this struct was generated from the following file: