Module: Ethon::Curls::ProxyTypes
- Included in:
- Ethon::Curl
- Defined in:
- lib/ethon/curls/proxy_types.rb
Overview
This module contains the available proxy types.
Instance Method Summary collapse
-
#proxy_types ⇒ Hash
Return proxy types.
Instance Method Details
#proxy_types ⇒ Hash
Return proxy types.
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/ethon/curls/proxy_types.rb', line 13 def proxy_types { :http => 0, :http_1_0 => 1, :socks4 => 4, :socks5 => 5, :socks4a => 6, :socks5_hostname =>7 } end |