Lines Matching refs:handle
17 * @property resource $_mh Internal use only. Lazy loaded multi-handle.
34 * - handle_factory: An optional callable used to generate curl handle
36 * of the handle, headers file resource, and the body resource.
87 'handle' => $result[0],
149 $id = (int) $entry['handle'];
157 curl_multi_add_handle($this->_mh, $entry['handle']);
159 curl_multi_add_handle($this->_mh, $entry['handle']);
175 $this->handles[$id]['handle']
177 curl_close($this->handles[$id]['handle']);
183 * Cancels a handle from sending and removes references to it.
196 $handle = $this->handles[$id]['handle'];
198 curl_multi_remove_handle($this->_mh, $handle);
199 curl_close($handle);
213 $this->handles[$id]['handle']
222 $id = (int) $done['handle'];
230 $entry['response']['transfer_stats'] = curl_getinfo($done['handle']);
234 $entry['response']['curl']['error'] = curl_error($done['handle']);