lib/httpx/plugins/proxy/socks4.rb in httpx-0.15.4 vs lib/httpx/plugins/proxy/socks4.rb in httpx-0.16.0
- old
+ new
@@ -2,10 +2,11 @@
require "resolv"
require "ipaddr"
module HTTPX
- Socks4Error = Class.new(Error)
+ class Socks4Error < Error; end
+
module Plugins
module Proxy
module Socks4
VERSION = 4
CONNECT = 1