Sha256: a839b75e02231db63bbdcb74d1097d15cabe0edebf4da52d140f8e77cef9369f

Contents?: true

Size: 621 Bytes

Versions: 7

Compression:

Stored size: 621 Bytes

Contents

module HTTPX
  module Plugins
    module H2C
      def self.load_dependencies: (singleton(Session)) -> void
      
      module InstanceMethods
        VALID_H2C_METHODS: Array[Symbol]
        
        private

        def valid_h2c_upgrade_request: (Request) -> bool
        def valid_h2c_upgrade?: (Request, Response, Options) -> bool
      end

      class H2CParser < Connection::HTTP2
        def upgrade: (Request, Response) -> void
      end

      module ConnectionMethods
        def upgrade: (Request, Response) -> void
      end
    end

    type sessionH2C = Session & Plugins::H2C::InstanceMethods
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
httpx-0.12.0 sig/plugins/h2c.rbs
httpx-0.11.3 sig/plugins/h2c.rbs
httpx-0.11.2 sig/plugins/h2c.rbs
httpx-0.11.1 sig/plugins/h2c.rbs
httpx-0.11.0 sig/plugins/h2c.rbs
httpx-0.10.2 sig/plugins/h2c.rbs
httpx-0.10.1 sig/plugins/h2c.rbs