![]() |
CotC C# SDK for Unity
v1.4.0.1
Making social games is easy !
|
This class is passed to the HttpRequestFailed handler as set on the Cloud. You need to do something with it, either call Abort or RetryIn else the http service will throw an exception.
Properties | |
string | Url [get] |
The original URL that the request failed to reach. More... | |
Public Member Functions | |
void | Abort () |
Call this to abort the request. It won't be tried ever again. More... | |
void | RetryIn (int milliseconds) |
Call this to retry the request later. More... | |
Public Attributes | |
object | UserData |
You can set this member from the handler; 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. More... | |
|
get |
The original URL that the request failed to reach.
void CotcSdk.HttpRequestFailedEventArgs.Abort | ( | ) |
Call this to abort the request. It won't be tried ever again.
void CotcSdk.HttpRequestFailedEventArgs.RetryIn | ( | int | milliseconds | ) |
Call this to retry the request later.
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. |
object CotcSdk.HttpRequestFailedEventArgs.UserData |
You can set this member from the handler; 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.