public useProxy ( string $host, string $port, string $auth = null, string $type = null ) : seregazhuk\PinterestBot\Api\Contracts\HttpClient | ||
$host | string | '192.168.1.1' |
$port | string | '12345' |
$auth | string | Authentication string: 'username:password' |
$type | string | HTTP|SOCKS |
return | seregazhuk\PinterestBot\Api\Contracts\HttpClient |