Open Monograph Press  3.3.0
GuzzleHttp\Handler\CurlFactoryInterface Interface Reference
Inheritance diagram for GuzzleHttp\Handler\CurlFactoryInterface:
GuzzleHttp\Handler\CurlFactory

Public Member Functions

 create (RequestInterface $request, array $options)
 
 release (EasyHandle $easy)
 

Detailed Description

Definition at line 6 of file CurlFactoryInterface.php.

Member Function Documentation

◆ create()

GuzzleHttp\Handler\CurlFactoryInterface::create ( RequestInterface  $request,
array  $options 
)

Creates a cURL handle resource.

Parameters
RequestInterface$requestRequest
array$optionsTransfer options
Returns
EasyHandle
Exceptions

Implemented in GuzzleHttp\Handler\CurlFactory.

◆ release()

GuzzleHttp\Handler\CurlFactoryInterface::release ( EasyHandle  $easy)

Release an easy handle, allowing it to be reused or closed.

This function must call unset on the easy handle's "handle" property.

Parameters
EasyHandle$easy

Implemented in GuzzleHttp\Handler\CurlFactory.

Referenced by GuzzleHttp\Handler\CurlFactory\finish().


The documentation for this interface was generated from the following file: