main.cesium.DefaultProxy.kt Maven / Gradle / Ivy
The newest version!
// Automatically generated - do not modify!
@file:JsModule("cesium")
package cesium
/**
* A simple proxy that appends the desired resource as the sole query parameter
* to the given proxy URL.
* @see Online Documentation
*
* @constructor
* @param [proxy] The proxy URL that will be used to requests all resources.
* @see Online Documentation
*/
external class DefaultProxy(proxy: String) {
/**
* Get the final URL to use to request a given resource.
* @param [resource] The resource to request.
* @return proxied resource
* @see Online Documentation
*/
fun getURL(resource: String): String
}