Zend\Http\Client\Adapter\Proxy::connect
Connect to the remote server
Will try to connect to the proxy server. If no proxy was set, will fall back to the target server (behave like regular Socket adapter)
Signature
public function connect(string
$host,
[int
$port = 80,
[bool
$secure = false]] )
Parameters
$host
— string$port
— integer$secure
— object