Sha256: d14fba744a8f77916a43688deafde8ade44b122fa7c06e14388ac0cfb0c61ac0

Contents?: true

Size: 509 Bytes

Versions: 34

Compression:

Stored size: 509 Bytes

Contents

module HTTPX
  module Plugins
    module Upgrade
      type handlers_registry = Registry[Symbol, Class]

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

      interface _UpgradeOptions
        def upgrade_handlers: () -> handlers_registry?
      end

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

      module ConnectionMethods
        attr_reader upgrade_protocol: Symbol?
        attr_reader hijacked: boolish

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

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
httpx-0.22.5 sig/plugins/upgrade.rbs
httpx-0.22.4 sig/plugins/upgrade.rbs
httpx-0.22.3 sig/plugins/upgrade.rbs
httpx-0.22.2 sig/plugins/upgrade.rbs
httpx-0.22.1 sig/plugins/upgrade.rbs
httpx-0.22.0 sig/plugins/upgrade.rbs
httpx-0.21.1 sig/plugins/upgrade.rbs
httpx-0.21.0 sig/plugins/upgrade.rbs
httpx-0.20.5 sig/plugins/upgrade.rbs
httpx-0.20.4 sig/plugins/upgrade.rbs
httpx-0.20.3 sig/plugins/upgrade.rbs
httpx-0.20.2 sig/plugins/upgrade.rbs
httpx-0.20.1 sig/plugins/upgrade.rbs
httpx-0.20.0 sig/plugins/upgrade.rbs
httpx-0.19.8 sig/plugins/upgrade.rbs
httpx-0.19.7 sig/plugins/upgrade.rbs
httpx-0.19.6 sig/plugins/upgrade.rbs
httpx-0.19.5 sig/plugins/upgrade.rbs
httpx-0.19.4 sig/plugins/upgrade.rbs
httpx-0.19.3 sig/plugins/upgrade.rbs