# depicter/trunk/modules/GuzzleHttp/Handler/CurlFactoryInterface.php

Depicter — Popup &amp; Slider Builder, version trunk. 26 lines.

- Page: https://pluginprobe.com/plugins/depicter/trunk/code/modules/GuzzleHttp/Handler/CurlFactoryInterface.php
- Raw: https://pluginprobe.com/plugins/depicter/trunk/raw/modules/GuzzleHttp/Handler/CurlFactoryInterface.php
- Modified: 2022-06-01T06:26:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/depicter/trunk/code/modules/GuzzleHttp/Handler/CurlFactoryInterface.php#L10-L20`.

```php
<?php

namespace Depicter\GuzzleHttp\Handler;

use Depicter\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;
}

```
