YoastSEO_Vendor\GuzzleHttp\Handler
CurlFactoryInterface{} Yoast 1.0
Хуков нет.
Возвращает
Null. Ничего.
Использование
$CurlFactoryInterface = new CurlFactoryInterface(); // use class methods
Методы
- create(\YoastSEO_Vendor\Psr\Http\Message\RequestInterface $request, array $options)
- release(\YoastSEO_Vendor\GuzzleHttp\Handler\EasyHandle $easy)
Код CurlFactoryInterface{} CurlFactoryInterface{} Yoast 15.7
interface CurlFactoryInterface
{
/**
* Creates a cURL handle resource.
*
* @param RequestInterface $request Request
* @param array $options Transfer options
*
* @return EasyHandle
* @throws \RuntimeException when an option cannot be applied
*/
public function create(\YoastSEO_Vendor\Psr\Http\Message\RequestInterface $request, array $options);
/**
* Release an easy handle, allowing it to be reused or closed.
*
* This function must call unset on the easy handle's "handle" property.
*
* @param EasyHandle $easy
*/
public function release(\YoastSEO_Vendor\GuzzleHttp\Handler\EasyHandle $easy);
}