You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
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;