You are here

interface CurlFactoryInterface in Lockr 7.3

Hierarchy

Expanded class hierarchy of CurlFactoryInterface

All classes that implement CurlFactoryInterface

File

vendor/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php, line 6

Namespace

GuzzleHttp\Handler
View source
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(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(EasyHandle $easy);

}

Members

Namesort descending Modifiers Type Description Overrides
CurlFactoryInterface::create public function Creates a cURL handle resource. 1
CurlFactoryInterface::release public function Release an easy handle, allowing it to be reused or closed. 1