Documentation

CurlFactoryInterface
in

Table of Contents

create()  : EasyHandle
Creates a cURL handle resource.
release()  : mixed
Release an easy handle, allowing it to be reused or closed.

Methods

create()

Creates a cURL handle resource.

public create(RequestInterface $request, array<string|int, mixed> $options) : EasyHandle
Parameters
$request : RequestInterface

Request

$options : array<string|int, mixed>

Transfer options

Tags
throws
RuntimeException

when an option cannot be applied

Return values
EasyHandle

release()

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

public release(EasyHandle $easy) : mixed

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

Parameters
$easy : EasyHandle
Return values
mixed

Search results