Initializes a new session and return a cURL handle.
protected initRequest ( string $url, array $options = [] ) : cURL | ||
$url | string | url to request. |
$options | array | HTTP request options. Keys: query, data, referer. |
return | cURL | handle. |