(PHP 5 >= 5.5.0, PHP 7, PHP 8)
curl_pause — Pause and unpause a connection
$handle
$flags
Pause or unpause a cURL session. A session can be paused while a transfer is in progress, in either the read, write or both directions, by calling this function from a callback registered with curl_setopt().
handle
A cURL handle returned by curl_init().
flags
One of CURLPAUSE_* constants.
CURLPAUSE_*
Returns an error code (CURLE_OK for no error).
CURLE_OK