lib/httpx/plugins/proxy/socks5.rb in httpx-0.15.4 vs lib/httpx/plugins/proxy/socks5.rb in httpx-0.16.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
module HTTPX
- Socks5Error = Class.new(Error)
+ class Socks5Error < Error; end
+
module Plugins
module Proxy
module Socks5
VERSION = 5
NOAUTH = 0