@cesium/engine
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
25 lines (21 loc) • 507 B
JavaScript
import DeveloperError from "./DeveloperError.js";
/**
* Base class for proxying requested made by {@link Resource}.
*
* @alias Proxy
* @constructor
*
* @see DefaultProxy
*/
function Proxy() {
DeveloperError.throwInstantiationError();
}
/**
* Get the final URL to use to request a given resource.
*
* @param {string} resource The resource to request.
* @returns {string} proxied resource
* @function
*/
Proxy.prototype.getURL = DeveloperError.throwInstantiationError;
export default Proxy;