Beamable SDK
Public Member Functions | Public Attributes | Properties | List of all members
Core.Platform.Tests.MockPlatformAPI Class Reference
Inheritance diagram for Core.Platform.Tests.MockPlatformAPI:
Inheritance graph
[legend]
Collaboration diagram for Core.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)
 
IPlatformRequester WithAccessToken (TokenResponse token)
 

Public Attributes

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

Properties

AuthService AuthService [get, set]
 
AccessToken Token [get, set]
 
- Properties inherited from Core.Platform.SDK.IPlatformRequester
AuthService AuthService [set]
 
AccessToken Token [get, set]
 

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