Static Methodasync-http-client 1.25.2AsyncHTTPClient
socksServer(host:port:)
Create a SOCKSv5 proxy.
static func socksServer(host: String, port: Int = 1080) -> Proxy
Parameters
Returns
A new instance of Proxy
configured to connect to a SOCKSv5
server.