Sha256: 9d8cc8049f6e4f905cae81a3f89b47e4ef090c766db2f69e6fc363619d457b41

Contents?: true

Size: 623 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

Version Path
httpx-0.10.0 sig/plugins/h2c.rbs