DefaultProxy

DefaultProxy

new DefaultProxy

A simple proxy that appends the desired resource as the sole query parameter to the given proxy URL.

Parameters:
Name Type Description
proxy String The proxy URL that will be used to requests all resources.

Methods

getURL

Get the final URL to use to request a given resource.

Parameters:
Name Type Description
resource String The resource to request.