Beamable SDK
Public Member Functions | Public Attributes | Properties | List of all members
Beamable.Api.PlatformRequester Class Reference

This class defines the PlatformRequester. More...

Inheritance diagram for Beamable.Api.PlatformRequester:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Api.PlatformRequester:
Collaboration graph
[legend]

Public Member Functions

 PlatformRequester (string host, AccessTokenStorage accessTokenStorage, IConnectivityService connectivityService)
 
IBeamableRequester WithAccessToken (TokenResponse token)
 
string EscapeURL (string url)
 
void DeleteToken ()
 
void Dispose ()
 
UnityWebRequest BuildWebRequest (Method method, string uri, string contentType, byte[] body)
 
Promise< T > RequestForm< T > (string uri, WWWForm form, bool includeAuthHeader=true)
 
Promise< T > RequestForm< T > (string uri, WWWForm form, Method method, bool includeAuthHeader=true)
 
Promise< T > Request< T > (Method method, string uri, object body=null, bool includeAuthHeader=true, Func< string, T > parser=null, bool useCache=false)
 
Promise< T > RequestJson< T > (Method method, string uri, JsonSerializable.ISerializable body, bool includeAuthHeader=true)
 

Public Attributes

IAccessToken AccessToken => Token
 

Properties

string Host [get, set]
 
string Cid [get, set]
 
string Pid [get, set]
 
AccessToken Token [get, set]
 
string Shard [get, set]
 
string Language [get, set]
 
string TimeOverride [get, set]
 
IAuthApi AuthService [set]
 
string RequestTimeoutMs [get, set]
 
- Properties inherited from Beamable.Common.Api.IBeamableRequester
IAccessToken AccessToken [get]
 

Detailed Description

This class defines the PlatformRequester.

Related Links

img beamable-logo


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