for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Class RequestOptions
*
* @filesource RequestOptions.php
* @created 15.02.2016
* @package chillerlan\TinyCurl
* @author Smiley <[email protected]>
* @copyright 2016 Smiley
* @license MIT
*/
namespace chillerlan\TinyCurl;
use chillerlan\Traits\{Container, ContainerInterface};
* @property string $user_agent
* @property int $timeout
* @property array $curl_options
* @property string $ca_info
* @property int $max_redirects
class RequestOptions implements ContainerInterface{
use Container;
* @var string
public $user_agent = 'chillerLAN-php-curl';
* @var int
public $timeout = 10;
* options for each curl instance
* @var array
public $curl_options = [];
* CA Root Certificates for use with CURL/SSL
* @link https://curl.haxx.se/ca/cacert.pem
public $ca_info = null;
public $max_redirects = 0;
}