WebGetProxyBypass Function

Action

Gets the names of hosts not to be accessed through a proxy.

Include file

WebAPI.bdh

Syntax

WebGetProxyBypass( out sProxyBypass    : string,
                   in  nMaxProxyBypass : number optional ): boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
sProxyBypass String variable that receives the list of proxy bypasses set.
nMaxProxyBypass Maximum number of characters to put into the string variable sProxyBypass (optional). This number must be smaller than or equal to the string buffer size of sProxyBypass.

Example

dcltrans
  transaction TWebInit
  var
    sProxyBypassList: string;
  begin
    WebGetProxyBypass(sProxyBypassList);
    write("ProxyBypassList: "); write(sProxyBypassList);writeln;
  end TWebInit;