Documentation

CurlFactoryInterface

Table of Contents

create()  : EasyHandle
Creates a cURL handle resource.
release()  : void
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) : void

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

Parameters
$easy : EasyHandle
Return values
void

Search results