Sha256: 24c0bc2642c2c0235a36acfcfee84f0bbfa2d2e4c1256e2950c5854b85c84f28
Contents?: true
Size: 521 Bytes
Versions: 1
Compression:
Stored size: 521 Bytes
Contents
require "uri/generic" module URI class SOCKS < Generic DEFAULT_PORT = 1080 COMPONENT = [:scheme, :userinfo, :host, :port, :query].freeze end class SOCKS4 < SOCKS end class SOCKS4A < SOCKS end begin @@schemes["SOCKS4"] = SOCKS4 @@schemes["SOCKS"] = SOCKS @@schemes["SOCKS5"] = SOCKS @@schemes["SOCKS4A"] = SOCKS4A rescue register_scheme 'SOCKS4', SOCKS4 register_scheme 'SOCKS', SOCKS register_scheme 'SOCKS5', SOCKS register_scheme 'SOCKS4A', SOCKS4A end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
proxifier2-1.1.0 | lib/uri/socks.rb |