Sha256: f40b31967cf334f76ede1db9705d77f979fbc4c46282fae792705237954841e4

Contents?: true

Size: 892 Bytes

Versions: 9

Compression:

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

9 entries across 9 versions & 1 rubygems

Version Path
httpx-1.1.5 sig/plugins/proxy/socks5.rbs
httpx-1.1.4 sig/plugins/proxy/socks5.rbs
httpx-1.1.3 sig/plugins/proxy/socks5.rbs
httpx-1.1.2 sig/plugins/proxy/socks5.rbs
httpx-1.1.1 sig/plugins/proxy/socks5.rbs
httpx-1.1.0 sig/plugins/proxy/socks5.rbs
httpx-1.0.2 sig/plugins/proxy/socks5.rbs
httpx-1.0.1 sig/plugins/proxy/socks5.rbs
httpx-1.0.0 sig/plugins/proxy/socks5.rbs