class Curl::Easy

def proxy_url=(url)


proxy_url, including protocol prefix (http://) and embedded user + password.
variables can be specified the exact same way as the proxy can be set with
Starting with libcurl 7.14.1, the proxy host string given in environment

override any possibly set environment variables.
*all_proxy* etc, if any of those is set. The proxy_url option does however
libcurl respects the environment variables *http_proxy*, *ftp_proxy*,

tunneling is activated with proxy_tunnel = true.
FTP specifics that don't work unless you tunnel through the HTTP proxy. Such
an impact on what other features of the library you can use, such as
convert operations to HTTP even if you specify an FTP URL etc. This may have
When you tell the library to use an HTTP proxy, libcurl will transparently

the separate option proxy_port .
will be ignored. The proxy's port number may optionally be specified with
The proxy string may be prefixed with [protocol]:// since any such prefix
port number in this string, append :[port] to the end of the host name.
The URL should specify the the host name or dotted IP address. To specify
Set the URL of the HTTP proxy to use for subsequent calls to +perform+.

easy.proxy_url = string => string
call-seq:
def proxy_url=(url)
  set :proxy, url
end