Sha256: 12132994ffdb84cce85b99c3d367e8d6602586509b0996c0847e588b065e5b3b

Contents?: true

Size: 581 Bytes

Versions: 33

Compression:

Stored size: 581 Bytes

Contents

module HTTPX
  module Plugins
    module Upgrade
      interface _Upgrader
        def call: (Connection connection, Request request, Response response) -> void
      end

      def self.configure: (singleton(Session)) -> void

      interface _UpgradeOptions
        def upgrade_handlers: () -> Hash[String, _Upgrader]
      end

      def self.extra_options: (Options) -> (Options & _UpgradeOptions)

      module ConnectionMethods
        attr_reader upgrade_protocol: String?
        attr_reader hijacked: boolish

        def hijack_io: () -> void
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
httpx-1.3.4 sig/plugins/upgrade.rbs
httpx-1.3.3 sig/plugins/upgrade.rbs
httpx-1.3.2 sig/plugins/upgrade.rbs
httpx-1.3.1 sig/plugins/upgrade.rbs
httpx-1.3.0 sig/plugins/upgrade.rbs
httpx-1.2.6 sig/plugins/upgrade.rbs
httpx-1.2.4 sig/plugins/upgrade.rbs
httpx-1.2.3 sig/plugins/upgrade.rbs
httpx-1.2.2 sig/plugins/upgrade.rbs
httpx-1.2.1 sig/plugins/upgrade.rbs
httpx-1.2.0 sig/plugins/upgrade.rbs
httpx-1.1.5 sig/plugins/upgrade.rbs
httpx-1.1.4 sig/plugins/upgrade.rbs
httpx-1.1.3 sig/plugins/upgrade.rbs
httpx-1.1.2 sig/plugins/upgrade.rbs
httpx-1.1.1 sig/plugins/upgrade.rbs
httpx-1.1.0 sig/plugins/upgrade.rbs
httpx-1.0.2 sig/plugins/upgrade.rbs
httpx-0.24.7 sig/plugins/upgrade.rbs
httpx-1.0.1 sig/plugins/upgrade.rbs