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 hostname

Hostname to override

STRING overridewith

IP address or hostname to force connections for this host to. Pass an empty string to remove the override

RECORD options

Options

inport

Is non-0, only match connections to this exact port

outport

If set, connect to this port instead

secure

If provided, use SSL if set to TRUE, don't use SSL otherwise.