abstract class
Socks::Socks
- Socks::Socks
- IO
- Reference
- Object
Direct Known Subclasses
Defined in:
nghttp/transports/socks/socks.crConstructors
Instance Method Summary
- #close(*args, **options)
- #close(*args, **options, &)
- #closed?(*args, **options)
- #closed?(*args, **options, &)
- #connect(host : String, port : Int)
- #connect_socks
- #flush(*args, **options)
- #flush(*args, **options, &)
- #peek(*args, **options)
- #peek(*args, **options, &)
- #read(*args, **options)
- #read(*args, **options, &)
- #rewind(*args, **options)
- #rewind(*args, **options, &)
- #socks
- #socks? : TCPSocket?
- #socks_host : String
- #socks_port : Int32
- #tty?(*args, **options)
- #tty?(*args, **options, &)
-
#write(data : Bytes) : Nil
Writes the contents of slice into this
IO.
Instance methods inherited from class IO
pack(spec, *a)
pack,
reunpack(src, dst, *vars)
reunpack,
unpack(spec)
unpack
Constructor Detail
def self.new(host : String, port : Int32, username : Nil | String = nil, password : Nil | String = nil, anonymous_username : Nil | String = "user")
#