An object providing an API to a cache
The gameObject which should be passed to SendMessage when making the callbacks to the viewer
Resources for in-progress get requests
The Unity Instance created by the loader; this is used for SendMessage
Should direct to the cache object's read function. If the cache is disabled, returning an empty fulfilled promise will cause the request to be passed onto the web. The caller can skip the cache regardless of its state by passing false for the cache parameter.
Generated using TypeDoc
WebRequestHandler acts as the counterpart of a WebRequestHandler2 Component in Unity. When the Component is started, an instance of this class is created by UnityUtil and attached to the unityInstance. This reference is used by functions in the WebRequestHandler2.jslib plug-in in Unity to make calls directly from the viewer.