sig/plugins/proxy.rbs in httpx-1.1.5 vs sig/plugins/proxy.rbs in httpx-1.2.0
- old
+ new
@@ -1,9 +1,12 @@
module HTTPX
- class HTTPProxyError < Error
+ class HTTPProxyError < ConnectionError
end
+ class ProxySSL < SSL
+ end
+
module Plugins
module Proxy
Error: singleton(HTTPProxyError)
PROXY_ERRORS: Array[singleton(StandardError)]
@@ -34,9 +37,16 @@
def self.extra_options: (Options) -> (Options & _ProxyOptions)
module InstanceMethods
@__proxy_uris: Array[generic_uri]
+
+ private
+
+ def proxy_error?: (Request request, response) -> bool
+ end
+
+ module ConnectionMethods
end
end
type sessionProxy = Session & Proxy::InstanceMethods
end