Leser: 3
2 Einträge, 1 Seite |
QuoteProxy attributes
The following methods set up when requests should be passed via a proxy server.
Set/retrieve proxy URL for a scheme:
Code: (dl )1
2$ua->proxy(['http', 'ftp'], 'http://proxy.sn.no:8001/');
$ua->proxy('gopher', 'http://proxy.sn.no:8001/');
The first form specifies that the URL is to be used for proxying of access methods listed in the list in the first method argument, i.e. 'http' and 'ftp'.
The second form shows a shorthand form for specifying proxy URL for a single access scheme.
2 Einträge, 1 Seite |