DesktopSystemgetProxySettings Method |
Retrieves the proxy settings object.
Namespace:
Openfin.Desktop
Assembly:
OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.1
Syntax public void getProxySettings(
AckCallback callback,
AckCallback errorCallback = null
)
Parameters
- callback
- Type: Openfin.DesktopAckCallback
A function that is called and passed the proxy settings object.
- errorCallback (Optional)
- Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails.
The reason for failure is passed as an argument.
Remarks
The proxy object the callback receives takes the following form:
{
type: (string) "system" or "named",
proxyAddress: (string) the address of the proxy server,
proxyPort: (integer) the port of proxy server
}
See Also