CurlFactoryInterface
in
Table of Contents
Methods
- 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
Return values
EasyHandlerelease()
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