Beamable SDK
All Classes Namespaces Functions Variables Properties Events
Public Member Functions | Public Attributes | Properties | List of all members
Beamable.Platform.Tests.MockPlatformAPI Class Reference
Inheritance diagram for Beamable.Platform.Tests.MockPlatformAPI:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Platform.Tests.MockPlatformAPI:
Collaboration graph
[legend]

Public Member Functions

 MockPlatformAPI (MockPlatformAPI copy)
 
Promise< T > RequestJson< T > (Method method, string uri, JsonSerializable.ISerializable body, bool includeAuthHeader=true)
 
MockPlatformRoute< T > MockRequest< T > (Method method, string uri)
 
Promise< T > Request< T > (Method method, string uri, object body=null, bool includeAuthHeader=true, Func< string, T > parser=null, bool useCache=false)
 
Promise< T > RequestForm< T > (string uri, WWWForm form, bool includeAuthHeader=true)
 
Promise< T > RequestForm< T > (string uri, WWWForm form, Method method, bool includeAuthHeader=true)
 
IBeamableRequester WithAccessToken (TokenResponse token)
 
string EscapeURL (string url)
 

Public Attributes

bool AllMocksCalled => _routes.All(mock => mock.Called)
 

Properties

AuthService AuthService [get, set]
 
IAccessToken AccessToken [get, set]
 
- Properties inherited from Beamable.Common.Api.IBeamableRequester
IAccessToken AccessToken [get]
 

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