Sha256: db13e9a8512bafae770af99484fc68a289497181fda956975b6e8efb2953a850

Contents?: true

Size: 567 Bytes

Versions: 5

Compression:

Stored size: 567 Bytes

Contents

module HTTPX
  module Plugins
    module PushPromise
      module ResponseMethods
        def pushed?: () -> boolish
        def mark_as_pushed!: () -> void
      end

      module InstanceMethods
        private

        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
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
httpx-1.3.4 sig/plugins/push_promise.rbs
httpx-1.3.3 sig/plugins/push_promise.rbs
httpx-1.3.2 sig/plugins/push_promise.rbs
httpx-1.3.1 sig/plugins/push_promise.rbs
httpx-1.3.0 sig/plugins/push_promise.rbs