curl_pause

(PHP 5 >= 5.5.0, PHP 7)

curl_pausePause and unpause a connection

Description

curl_pause ( CurlHandle $handle , int $flags ) : int
Warning

This function is currently not documented; only its argument list is available.

Parameters

handle

A cURL handle returned by curl_init().

flags

One of CURLPAUSE_* constants.

Return Values

Returns an error code (CURLE_OK for no error).

Changelog

Version Description
8.0.0 handle expects a CurlHandle instance now; previously, a resource was expected.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.curl-pause.php