ProxyAddress.getDestinationHostname

string getDestinationHostname()

Gets proxy's destination hostname; that is, the name of the host that will be connected to via the proxy, not the name of the proxy itself.

Returns

the proxy's destination hostname