Module: Patron::ProxyType

Defined in:
lib/patron/proxy_type.rb,
ext/patron/session_ext.c

Overview

Represents proxy types that can be used when configured requests via CURL.

Constant Summary collapse

HTTP =
LONG2NUM(CURLPROXY_HTTP)
HTTP_1_0 =
LONG2NUM(CURLPROXY_HTTP_1_0)
SOCKS4 =
LONG2NUM(CURLPROXY_SOCKS4)
SOCKS5 =
LONG2NUM(CURLPROXY_SOCKS5)
SOCKS4A =
LONG2NUM(CURLPROXY_SOCKS4A)
SOCKS5_HOSTNAME =
LONG2NUM(CURLPROXY_SOCKS5_HOSTNAME)