WebBrowser::SetHostnameOverride (open)
Override hostname resolution (set an IP addres or alternative hostname)
Syntax
LOADLIB "wh::internet/webbrowser.whlib";
MACRO SetHostnameOverride(STRING hostname, STRING overridewith, RECORD options)Parameters
STRING hostnameHostname to override
STRING overridewithIP address or hostname to force connections for this host to. Pass an empty string to remove the override
RECORD optionsOptions
inportIs non-0, only match connections to this exact port
outportIf set, connect to this port instead
secureIf provided, use SSL if set to TRUE, don't use SSL otherwise.