Lines Matching defs:handle
16 * Creates a cURL handle, header resource, and body resource based on a
20 * @param null|resource $handle Optionally provide a curl handle to modify
22 * @return array Returns an array of the curl handle, headers array, and
23 * response body handle.
26 public function __invoke(array $request, $handle = null)
47 if (!$handle) {
48 $handle = curl_init();
52 curl_setopt_array($handle, $options);
54 return [$handle, &$headers, $body];
244 // Let cURL handle setting the Content-Length header
495 // PHP 5.5 pushed the handle onto the start of the args