Sha256: 5b6fbc913ff95b11fa04e7762cc8dd3ddac213e78ce459f02137d1a101bf3889

Contents?: true

Size: 929 Bytes

Versions: 21

Compression:

Stored size: 929 Bytes

Contents

module HTTPX
  Socks5Error: singleton(Error)

  module Plugins
    module Proxy
      module Socks5
        VERSION: Integer

        module ConnectionMethods
          def __socks5_proxy_connect: () ->  void
          def __socks5_on_packet: (String packet) ->  void
          def __socks5_check_version: (int) -> void
          def __on_socks5_error: (string) -> void
        end

        class SocksParser
          include Callbacks

          def timeout: () -> Integer
          def close: () -> void
          def consume: (*untyped) -> void
          def empty: () -> bool
          def <<: (string) -> void

          private

          def initialize: (Buffer buffer, Options) -> untyped
        end

        module Packet
          def self?.negotiate: (Parameters) -> String
          def self?.authenticate: (Parameters) -> String
          def self?.connect: (uri) -> String
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
httpx-0.21.0 sig/plugins/proxy/socks5.rbs