sig/plugins/push_promise.rbs in httpx-1.2.6 vs sig/plugins/push_promise.rbs in httpx-1.3.0
- old
+ new
@@ -7,12 +7,12 @@
end
module InstanceMethods
private
- def promise_headers: () -> Hash[HTTP2Next::Stream, Request]
- def __on_promise_request: (Connection::HTTP2, HTTP2Next::Stream, headers_input) -> void
- def __on_promise_response: (Connection::HTTP2, HTTP2Next::Stream, headers_input) -> void
+ def promise_headers: () -> Hash[::HTTP2::Stream, Request]
+ def __on_promise_request: (Connection::HTTP2, ::HTTP2::Stream, headers_input) -> void
+ def __on_promise_response: (Connection::HTTP2, ::HTTP2::Stream, headers_input) -> void
end
end
type sessionPushPromise = Session & PushPromise::InstanceMethods
end