lib/httpx/plugins/proxy/socks5.rb in httpx-1.1.5 vs lib/httpx/plugins/proxy/socks5.rb in httpx-1.2.0

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true module HTTPX - class Socks5Error < Error; end + class Socks5Error < HTTPProxyError; end module Plugins module Proxy module Socks5 VERSION = 5 @@ -135,10 +135,10 @@ throw(:called) end end class SocksParser - include Callbacks + include HTTPX::Callbacks def initialize(buffer, options) @buffer = buffer @options = Options.new(options) end