CotC C# SDK for Unity  v1.4.0.1
Making social games is easy !
Public Types | Properties | Public Attributes | List of all members
CotcSdk.HttpRequest Class Reference

Public Types

enum  Policy { AllErrors, NonpermanentErrors, Never }
 

Properties

byte [] Body [get, set]
 
string BodyString [get, set]
 
Bundle BodyJson [set]
 
bool HasBody [get]
 

Public Attributes

bool DoNotEnqueue
 Set to perform the request immediately, regardless of a request already being run. More...
 
Dictionary< String, String > Headers = new Dictionary<string, string>()
 
HttpRequestFailedHandler FailedHandler
 
int LoadBalancerCount = 1
 
string Method
 When not set (null), uses GET if no body is provided, or POST otherwise. More...
 
Policy RetryPolicy = Policy.NonpermanentErrors
 
string Url
 
int TimeoutMillisec
 
string UserAgent
 

Member Data Documentation

◆ DoNotEnqueue

bool CotcSdk.HttpRequest.DoNotEnqueue

Set to perform the request immediately, regardless of a request already being run.

◆ Method

string CotcSdk.HttpRequest.Method

When not set (null), uses GET if no body is provided, or POST otherwise.