Interface INetworkProxyInfo
interface INetworkProxyInfo
Extends com.amazon.apmf.IStandard
Interface to represent Network Proxy info of current connection.
Methods
setProxyMode()
Set the network proxy mode.voidsetProxyMode(ProxyMode*proxyMode)
Parameters
proxyMode
ProxyMode* — Required
network proxy mode to set.
getProxyMode()
ProxyMode getProxyMode()
Get the current network proxy mode.
Returns
ProxyMode
ProxyMode.
setProxyUrl()
Set the network proxy URL. This can be used whenvoidsetProxyUrl(stringproxyUrl)
ProxyMode is set to ProxyMode.AUTO.
Parameters
proxyUrl
string — Required
the network proxy URL.
getProxyUrl()
string? getProxyUrl()
Get the Network Proxy URL of this ProxyInfo.
Returns
string?
The return value is optional and might be absent.
Proxy URL on success.
setProxyPort()
Set the network proxy port number. This can be used whenvoidsetProxyPort(u16proxyPort)
ProxyMode is set to ProxyMode.MANUAL.
Parameters
proxyPort
u16 — Required
newtork proxy port number to set.
getProxyPort()
u16 getProxyPort()
Get the network proxy port number.
Returns
u16
network proxy port number.
setProxyHostname()
Set the network proxy hostname. This can be used whenvoidsetProxyHostname(stringproxyHostname)
ProxyMode is set to ProxyMode.MANUAL.
Parameters
proxyHostname
string — Required
newtork proxy hostname to set.
getProxyHostname()
string? getProxyHostname()
Get the network proxy hostname.
Returns
string?
The return value is optional and might be absent.
network proxy hostname.
setProxyBypassList()
Set the network proxy bypass list. This can be used whenvoidsetProxyBypassList(stringproxyBypassList)
ProxyMode is set to ProxyMode.MANUAL.
Parameters
proxyBypassList
string — Required
network proxy bypass list to set.
getProxyBypassList()
string? getProxyBypassList()
Get the network proxy bypass list.
This can be used when ProxyMode is set to ProxyMode.MANUAL.
Returns
string?
The return value is optional and might be absent.
Proxy network proxy by-pass list.

