YoastSEO_Vendor\GuzzleHttp\Handler
CurlHandler::__invoke() public Yoast 1.0
{} Это метод класса: CurlHandler{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$CurlHandler = new CurlHandler(); $CurlHandler->__invoke( \YoastSEO_Vendor\Psr\Http\Message\RequestInterface $request, $options );
Код CurlHandler::__invoke() CurlHandler:: invoke Yoast 15.6.2
public function __invoke(\YoastSEO_Vendor\Psr\Http\Message\RequestInterface $request, array $options)
{
if (isset($options['delay'])) {
\usleep($options['delay'] * 1000);
}
$easy = $this->factory->create($request, $options);
\curl_exec($easy->handle);
$easy->errno = \curl_errno($easy->handle);
return \YoastSEO_Vendor\GuzzleHttp\Handler\CurlFactory::finish($this, $easy, $this->factory);
}