Sha256: fd3dc77597a12c261bc02b743857f74c0a2fbe036dcf8fdd7b49998263748fa3

Contents?: true

Size: 795 Bytes

Versions: 6

Compression:

Stored size: 795 Bytes

Contents

module HTTPX
  class Socks4Error < HTTPProxyError
  end

  module Plugins
    module Proxy
      module Socks4

        module ConnectionMethods
          def __socks4_proxy_connect: () ->  void
          def __socks4_on_packet: (String packet) ->  void
          def on_socks4_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?.connect: (Parameters, 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/socks4.rbs
httpx-1.3.3 sig/plugins/proxy/socks4.rbs
httpx-1.3.2 sig/plugins/proxy/socks4.rbs
httpx-1.3.1 sig/plugins/proxy/socks4.rbs
httpx-1.3.0 sig/plugins/proxy/socks4.rbs
httpx-1.2.6 sig/plugins/proxy/socks4.rbs