Sha256: 639765cc5cf98e3a8d2fe4770ac1d2802d89a01c4825ee8df7c5d4041529bfff

Contents?: true

Size: 626 Bytes

Versions: 7

Compression:

Stored size: 626 Bytes

Contents

module HTTPX
  module Plugins
    module PushPromise
      def self.extra_options: (Options) -> Options

      module ResponseMethods
        def pushed?: () -> boolish
        def mark_as_pushed!: () -> void
      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
      end
    end

    type sessionPushPromise = Session & PushPromise::InstanceMethods
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
httpx-0.11.3 sig/plugins/push_promise.rbs
httpx-0.11.2 sig/plugins/push_promise.rbs
httpx-0.11.1 sig/plugins/push_promise.rbs
httpx-0.11.0 sig/plugins/push_promise.rbs
httpx-0.10.2 sig/plugins/push_promise.rbs
httpx-0.10.1 sig/plugins/push_promise.rbs
httpx-0.10.0 sig/plugins/push_promise.rbs