Sha256: d0340cb99ef314377e0f47ff232c60dab4fa730e220c44920950bdecd51be238

Contents?: true

Size: 918 Bytes

Versions: 31

Compression:

Stored size: 918 Bytes

Contents

module HTTPX
  Socks5Error: singleton(Error)

  module Plugins
    module Proxy
      module Socks5
      
        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

31 entries across 31 versions & 1 rubygems

Version Path
httpx-0.18.2 sig/plugins/proxy/socks5.rbs
httpx-0.18.1 sig/plugins/proxy/socks5.rbs
httpx-0.18.0 sig/plugins/proxy/socks5.rbs
httpx-0.17.0 sig/plugins/proxy/socks5.rbs
httpx-0.16.1 sig/plugins/proxy/socks5.rbs
httpx-0.16.0 sig/plugins/proxy/socks5.rbs
httpx-0.15.4 sig/plugins/proxy/socks5.rbs
httpx-0.15.3 sig/plugins/proxy/socks5.rbs
httpx-0.15.2 sig/plugins/proxy/socks5.rbs
httpx-0.15.1 sig/plugins/proxy/socks5.rbs
httpx-0.15.0 sig/plugins/proxy/socks5.rbs