Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
socks
v0.4
Socks
Error
Request
ResponseCode
Server
Built with Crystal 1.9.2
2023-10-08 13:38:22 UTC
class
Socks::Server
Socks::Server
Reference
Object
Defined in:
socks/server.cr
Constructors
.new
(listen_host : String, listen_port : Int32, debug : Bool =
true
)
Instance Method Summary
#auth
(client)
#handle
(client)
#run
#stop!
Constructor Detail
def self.
new
(listen_host : String, listen_port : Int32, debug : Bool =
true
)
#
[
View source
]
Instance Method Detail
def
auth
(client)
#
[
View source
]
def
handle
(client)
#
[
View source
]
def
run
#
[
View source
]
def
stop!
#
[
View source
]