… | |
… | |
247 | undef $request; |
247 | undef $request; |
248 | |
248 | |
249 | GLOBAL FUNCTIONS AND VARIABLES |
249 | GLOBAL FUNCTIONS AND VARIABLES |
250 | AnyEvent::HTTP::set_proxy "proxy-url" |
250 | AnyEvent::HTTP::set_proxy "proxy-url" |
251 | Sets the default proxy server to use. The proxy-url must begin with |
251 | Sets the default proxy server to use. The proxy-url must begin with |
252 | a string of the form "http://host:port" (optionally "https:..."). |
252 | a string of the form "http://host:port" (optionally "https:..."), |
|
|
253 | croaks otherwise. |
|
|
254 | |
|
|
255 | To clear an already-set proxy, use "undef". |
253 | |
256 | |
254 | $AnyEvent::HTTP::MAX_RECURSE |
257 | $AnyEvent::HTTP::MAX_RECURSE |
255 | The default value for the "recurse" request parameter (default: 10). |
258 | The default value for the "recurse" request parameter (default: 10). |
256 | |
259 | |
257 | $AnyEvent::HTTP::USERAGENT |
260 | $AnyEvent::HTTP::USERAGENT |