Helper class that can be used to make continuous Method.POST requests in order to keep some cached data somewhere. More...
Public Member Functions | |
BeamableGetApiResourceViaPost (bool useCache=false, Func< string, ScopedRsp > offlineResponseGenerator=null) | |
override async Promise< ScopedRsp > | RequestData (IBeamableRequester requester, string url) |
override string | CreateRefreshUrl (IUserContext ctx, string serviceName, string scope) |
Builds a Method.POST request's body for the given scope and caches it in ScopesToBodyMap. More... | |
![]() | |
BeamableGetApiResource (bool useCache=false) | |
Promise< ScopedRsp > | RequestData (IBeamableRequester requester, IUserContext ctx, string serviceName, string scope) |
Helper class that can be used to make continuous Method.POST requests in order to keep some cached data somewhere.
ScopedRsp | The response type of the Post Request. |
|
inlinevirtual |
Builds a Method.POST request's body for the given scope and caches it in ScopesToBodyMap.
scope | A ","-separated string with all item types or ids that we want to get OR an empty string. Null is not supported. |
Reimplemented from Beamable.Common.Api.BeamableGetApiResource< ScopedRsp >.
|
inlinevirtual |
Reimplemented from Beamable.Common.Api.BeamableGetApiResource< ScopedRsp >.