system.util.getGatewayAddress

Description

Returns the address of the gateway that the client is currently communicating with.

Syntax

system.util. getGatewayAddress()

  • Parameters

none

  • Returns

String - the address of the Gateway that the client is communicating with.

  • Scope

Client

Code Examples
Code Snippet
# This code would open up the gateway config page.
address = system.util.getGatewayAddress()
system.net.openURL("%s/web/config/" % address)