Endpoint

webservice~ Endpoint

new Endpoint()

Description:
  • The Endpoint class is a static class that is used to set the endpoints of the web services.
    Here you can set mode for test or deployment, and set URLs for each service.

Source:

Methods

(static) setDeploymentMode(modeopt)

Description:
  • Changes to deployment mode because always test mode starts.

Source:
Parameters:
Name Type Attributes Default Description
mode boolean <optional>
true

The new mode to set. Set to false for test mode.

(static) setMode(mode)

Description:
  • Sets the deployment mode.

Source:
Deprecated:
Parameters:
Name Type Description
mode boolean

The new mode to set.

(static) setUrl(service, url, deploymentMode)

Source:
Parameters:
Name Type Default Description
service

is index integer.

url

is a string for that endpoint.

deploymentMode false

is boolean with true. False to test.