Sha256: 15bf7a815cb015401d5a0eb35dbddc0d8cefb8c861da4fbf39ed1d00ea98f646

Contents?: true

Size: 903 Bytes

Versions: 5

Compression:

Stored size: 903 Bytes

Contents

module HTTPX
  class Socks5Error < HTTPProxyError
  end

  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

5 entries across 5 versions & 1 rubygems

Version Path
httpx-1.2.4 sig/plugins/proxy/socks5.rbs
httpx-1.2.3 sig/plugins/proxy/socks5.rbs
httpx-1.2.2 sig/plugins/proxy/socks5.rbs
httpx-1.2.1 sig/plugins/proxy/socks5.rbs
httpx-1.2.0 sig/plugins/proxy/socks5.rbs