|
MockPlatformRoute< T > | WithResponse (T response) |
|
MockPlatformRoute< T > | WithNoAuthHeader (bool use=false) |
|
MockPlatformRoute< T > | WithToken (string token) |
|
MockPlatformRoute< T > | WithBodyMatch< TRequest > (Func< TRequest, bool > matcher) |
|
MockPlatformRoute< T > | WithoutJsonField (string fieldName) |
|
MockPlatformRoute< T > | WithJsonFieldMatch (string jsonPath, Func< object, bool > matcher) |
|
MockPlatformRoute< T > | WithJsonFieldMatch (string jsonPath, object expectedValue) |
|
override Promise< T1 > | Invoke< T1 > (object body, bool includeAuth, IAccessToken token) |
|
override bool | MatchesRequest< T1 > (Method method, string uri, string token, object body, bool includeAuthHeader) |
|
MockPlatformRoute< T > | WithURIPrefix (string uriPrefix) |
|
MockPlatformRoute< T > | WithURIMatcher (Func< string, bool > matcher) |
|
abstract Promise< T > | Invoke< T > (object body, bool includeAuth, IAccessToken token) |
|
abstract bool | MatchesRequest< T > (Method method, string uri, string token, object body, bool includeAuthHeader) |
|
|
Method | Method |
|
string | Uri |
|
bool | IncludeAuthHeader = true |
|
string | Token |
|
bool | Called => CallCount > 0 |
|
object | _response |
|
int | CallCount [get, protected set] |
|
The documentation for this class was generated from the following file:
- client/Packages/com.beamable/Tests/Runtime/Beamable/Platform/MockPlatformAPI.cs