The CurlSharePersistentHandle class

Introduction

Represents a persistent cURL "share" handle, created by curl_share_init_persistent. Unlike CurlShareHandle (created with curl_share_init), this handle persists across requests. Use curl_share_setopt to configure what data is shared.

Class synopsis

final CurlSharePersistentHandle
/* Properties */
public readonly array $options;

Properties

options
The CURL_LOCK_DATA_* caches shared between requests using this handle.

Changelog

Version Description
8.5.0 The class was added.