sig/plugins/proxy.rbs in httpx-0.19.8 vs sig/plugins/proxy.rbs in httpx-0.20.0
- old
+ new
@@ -9,18 +9,20 @@
class Parameters
attr_reader uri: URI::Generic
attr_reader username: String?
attr_reader password: String?
+ attr_reader scheme: String?
- def authenticated?: () -> boolish
- def token_authentication: () -> String?
+ def can_authenticate?: (*untyped) -> boolish
+ def authenticate: (*untyped) -> String?
+
def ==: (untyped) -> bool
private
- def initialize: (uri: generic_uri, ?username: String, ?password: String) -> untyped
+ def initialize: (uri: generic_uri, ?scheme: String, ?username: String, ?password: String, **extra) -> untyped
end
def self.configure: (singleton(Session)) -> void
type proxyParam = Parameters | Hash[Symbol, untyped]