server(host:port:authorization:)

Create a HTTP proxy.

HTTPClient+Proxy.swift:75
static func server(host: String, port: Int, authorization: HTTPClient.Authorization? = nil) -> Proxy

Parameters

host

proxy server host.

port

proxy server port.

authorization

proxy server authorization.