Thread Mit Proxy aus Liste Connecten (1 answers)
Opened by Proxy at 2008-07-27 00:25

MatthiasW
 2008-07-27 00:36
#112807 #112807
User since
2008-01-27
367 Artikel
BenutzerIn
[default_avatar]
Deiner Rechtschreibung nach sitzt du schon zu lange vorm Rechner ;)
Ich zitiere aus der LWP::UserAgent Dokumentation:
Quote
Proxy attributes
The following methods set up when requests should be passed via a proxy server.
Code: (dl )
1
2
$ua->proxy(\@schemes, $proxy_url)
$ua->proxy($scheme, $proxy_url)

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.

Falls du nach etwas anderem suchst, beschreibe dein Problem bitte genauer.

MfG
perl -E'*==*",s;;%ENV=~m,..$,,$&+42;e,$==f;$"++for+ab..an;@"=qw,u t,,print+chr;sub f{split}say"@{=} me"'

View full thread Mit Proxy aus Liste Connecten