Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CurlFactoryInterface.php

interface CurlFactoryInterface

Hierarchy

  • interface \GuzzleHttp\Handler\CurlFactoryInterface

Expanded class hierarchy of CurlFactoryInterface

All classes that implement CurlFactoryInterface

File

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

Namespace

GuzzleHttp\Handler
View source
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;

}

Members

Title Sort descending Modifiers Object type Summary 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
RSS feed
Powered by Drupal