$
ua
->proxy
(
prot
,
proxy_url
)
Defines a URL (
proxy_url
) to use with the specified protocols,
prot
. The first parameter can be a reference to a list of protocol names or a scalar that contains a single protocol. The second argument defines a proxy URL to use with the protocol.