array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.curl-pause.php', 1 => 'curl_pause', ), 'up' => array ( 0 => 'ref.curl.php', 1 => 'Fonctions cURL', ), 'prev' => array ( 0 => 'function.curl-multi-strerror.php', 1 => 'curl_multi_strerror', ), 'next' => array ( 0 => 'function.curl-reset.php', 1 => 'curl_reset', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/curl/functions/curl-pause.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
curl_pause — Met en pause, ou sort de la pause une connexion
Met en pause ou reprend une session cURL. Une session peut être mise en pause tant qu'un transfert est en cours, dans les directions de lecture, d'écriture ou les deux, en appelant cette fonction à partir d'une fonction de rappel enregistré avec la fonction curl_setopt().
handle
Un gestionnaire cURL retourné par curl_init().
flags
Une constante parmi CURLPAUSE_*
.
Retourne un code erreur (CURLE_OK
correspond à aucune erreur).
Version | Description |
---|---|
8.0.0 |
handle attend désormais une instance de CurlHandle;
auparavant; une resource était attendue.
|