Sha256: 033b6252459702bec2a672e99a7361573353ca2e9db032465d2f617f2e00f050

Contents?: true

Size: 973 Bytes

Versions: 6

Compression:

Stored size: 973 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 HTTPX::Callbacks

          @buffer: Buffer
          @options: Options

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

          private

          def initialize: (Buffer buffer, Options 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

6 entries across 6 versions & 1 rubygems

Version Path
httpx-1.3.4 sig/plugins/proxy/socks5.rbs
httpx-1.3.3 sig/plugins/proxy/socks5.rbs
httpx-1.3.2 sig/plugins/proxy/socks5.rbs
httpx-1.3.1 sig/plugins/proxy/socks5.rbs
httpx-1.3.0 sig/plugins/proxy/socks5.rbs
httpx-1.2.6 sig/plugins/proxy/socks5.rbs