D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
plib
/
modules
/
advisor
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
Filename :
CurlFactoryInterface.php
back
Copy
<?php namespace PleskAdvisor\GuzzleHttp\Handler; use PleskAdvisor\Psr\Http\Message\RequestInterface; interface CurlFactoryInterface { /** * Creates a cURL handle resource. * * @param RequestInterface $request Request * @param array $options Transfer options * * @throws \RuntimeException when an option cannot be applied */ public function create(RequestInterface $request, array $options) : EasyHandle; /** * Release an easy handle, allowing it to be reused or closed. * * This function must call unset on the easy handle's "handle" property. */ public function release(EasyHandle $easy) : void; }