sig/chainable.rbs in httpx-0.24.7 vs sig/chainable.rbs in httpx-1.0.0

- old
+ new

@@ -10,21 +10,20 @@ def wrap: () { (Session) -> void } -> void def with: (options) -> Session | (options) { (Session) -> void } -> void - def plugin: (:authentication, ?options) -> Plugins::sessionAuthentication - | (:basic_authentication, ?options) -> Plugins::sessionBasicAuth - | (:digest_authentication, ?options) -> Plugins::sessionDigestAuth - | (:ntlm_authentication, ?options) -> Plugins::sessionNTLMAuth + def plugin: (:auth, ?options) -> Plugins::sessionAuthorization + | (:basic_auth, ?options) -> Plugins::sessionBasicAuth + | (:digest_auth, ?options) -> Plugins::sessionDigestAuth + | (:ntlm_auth, ?options) -> Plugins::sessionNTLMAuth | (:aws_sdk_authentication, ?options) -> Plugins::sessionAwsSdkAuthentication - | (:compression, ?options) -> Session + | (:brotli, ?options) -> Session | (:cookies, ?options) -> Plugins::sessionCookies | (:expect, ?options) -> Session | (:follow_redirects, ?options) -> Plugins::sessionFollowRedirects | (:upgrade, ?options) -> Session | (:h2c, ?options) -> Session - | (:multipart, ?options) -> Session | (:persistent, ?options) -> Plugins::sessionPersistent | (:proxy, ?options) -> (Plugins::sessionProxy & Plugins::httpProxy) | (:push_promise, ?options) -> Plugins::sessionPushPromise | (:retries, ?options) -> Plugins::sessionRetries | (:rate_limiter, ?options) -> Session