<proxy>

Contains HTTP proxy settings used to process requests to Internet resources.

Parameters

Attribute Type Description Required
host string
The name of the proxy host.
True
port int
The port number on NAnt.Core.Types.Proxy.Host to use.
True
bypassonlocal bool
Specifies whether to bypass the proxy server for local addresses. The default is false.
False
if bool
Indicates if the proxy should be used to connect to the external resource. If true then the proxy will be used; otherwise, not. The default is true.
False
unless bool
Indicates if the proxy should not be used to connect to the external resource. If false then the proxy will be used; otherwise, not. The default is false.
False
id string
The ID used to be referenced later.
False
refid string
The ID to use as the reference.
False

Nested elements

<credentials>

The credentials to submit to the proxy server for authentication.

</credentials>

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types