sig/session.rbs in httpx-1.1.5 vs sig/session.rbs in httpx-1.2.0
- old
+ new
@@ -31,20 +31,20 @@
def send_request: (Request request, Array[Connection] connections, ?Options options) -> void
def set_connection_callbacks: (Connection connection, Array[Connection] connections, Options options) -> void
- def build_altsvc_connection: (Connection existing_connection, Array[Connection] connections, URI::Generic alt_origin, String origin, Hash[String, String] alt_params, Options options) -> Connection?
+ def set_request_callbacks: (Request request) -> void
+ def build_altsvc_connection: (Connection existing_connection, Array[Connection] connections, URI::Generic alt_origin, String origin, Hash[String, String] alt_params, Options options) -> (Connection & AltSvc::ConnectionMixin)?
+
def build_requests: (verb, uri, options) -> Array[Request]
| (Array[[verb, uri, options]], options) -> Array[Request]
| (Array[[verb, uri]], options) -> Array[Request]
| (verb, _Each[[uri, options]], Options) -> Array[Request]
| (verb, _Each[uri], options) -> Array[Request]
- def build_connection: (URI::HTTP | URI::HTTP uri, Options options) -> Connection
-
- def init_connection: (String type, URI::HTTP | URI::HTTP uri, Options options) -> Connection
+ def init_connection: (URI::HTTP | URI::HTTP uri, Options options) -> Connection
def send_requests: (*Request) -> Array[response]
def _send_requests: (Array[Request] requests) -> Array[Connection]
\ No newline at end of file