Sha256: a9360cce32b33328079d3bb85b916c12fe4650541accf28bce6af130e5758fb8

Contents?: true

Size: 588 Bytes

Versions: 14

Compression:

Stored size: 588 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?
        def upgrade_handlers=: (handlers_registry) -> 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

14 entries across 14 versions & 1 rubygems

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