![]() |
CotC C# SDK for Unity
v1.4.0.1
Making social games is easy !
|
Properties | |
byte [] | Body [get, set] |
string | BodyString [get] |
Bundle?? | BodyJson [get] |
bool | HasBody [get] |
bool | HasFailed [get] |
If true, means that the request has completely failed, not that it received an error code such as 400. This will appear as completely normal. Use Common.HasFailed in that case. More... | |
Public Member Functions | |
bool | ShouldBeRetried (HttpRequest request) |
Returns whether this response is in an error state that should be retried according to the request configuration. More... | |
HttpResponse (Exception e) | |
Public Attributes | |
Exception | Exception |
Dictionary< String, String > | Headers = new Dictionary<string, string>() |
int | StatusCode |
|
get |
If true, means that the request has completely failed, not that it received an error code such as 400. This will appear as completely normal. Use Common.HasFailed in that case.
bool CotcSdk.HttpResponse.ShouldBeRetried | ( | HttpRequest | request | ) |
Returns whether this response is in an error state that should be retried according to the request configuration.