Sha256: 0aade4e3513c16bd9ed093894b60183b95790e755f807c585201c5e05967a798

Contents?: true

Size: 625 Bytes

Versions: 15

Compression:

Stored size: 625 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

15 entries across 15 versions & 1 rubygems

Version Path
httpx-0.15.4 sig/plugins/push_promise.rbs
httpx-0.15.3 sig/plugins/push_promise.rbs
httpx-0.15.2 sig/plugins/push_promise.rbs
httpx-0.15.1 sig/plugins/push_promise.rbs
httpx-0.15.0 sig/plugins/push_promise.rbs
httpx-0.14.5 sig/plugins/push_promise.rbs
httpx-0.14.4 sig/plugins/push_promise.rbs
httpx-0.14.3 sig/plugins/push_promise.rbs
httpx-0.14.2 sig/plugins/push_promise.rbs
httpx-0.14.1 sig/plugins/push_promise.rbs
httpx-0.14.0 sig/plugins/push_promise.rbs
httpx-0.13.2 sig/plugins/push_promise.rbs
httpx-0.13.1 sig/plugins/push_promise.rbs
httpx-0.13.0 sig/plugins/push_promise.rbs
httpx-0.12.0 sig/plugins/push_promise.rbs