private function CurlMultiHandler::addRequest in Auth0 Single Sign On 8.2
1 call to CurlMultiHandler::addRequest()
- CurlMultiHandler::__invoke in vendor/
guzzlehttp/ guzzle/ src/ Handler/ CurlMultiHandler.php
File
- vendor/
guzzlehttp/ guzzle/ src/ Handler/ CurlMultiHandler.php, line 149
Class
- CurlMultiHandler
- Returns an asynchronous response using curl_multi_* functions.
Namespace
GuzzleHttp\HandlerCode
private function addRequest(array $entry) {
$easy = $entry['easy'];
$id = (int) $easy->handle;
$this->handles[$id] = $entry;
if (empty($easy->options['delay'])) {
curl_multi_add_handle($this->_mh, $easy->handle);
}
else {
$this->delays[$id] = Utils::currentTime() + $easy->options['delay'] / 1000;
}
}