Funções cURL
PHP Manual

curl_multi_remove_handle

(PHP 5, PHP 7)

curl_multi_remove_handleRemove a multi handle from a set of cURL handles

Descrição

int curl_multi_remove_handle ( resource $mh , resource $ch )

Removes a given ch handle from the given mh handle. When the ch handle has been removed, it is again perfectly legal to run curl_exec() on this handle. Removing the ch handle while being used, will effectively halt the transfer in progress involving that handle.

Parâmetros

mh

Um cURL "multi handle" retornado por curl_multi_init().

ch

Um handle cURL retornado por curl_init().

Valor Retornado

Returns 0 on success, or one of the CURLM_XXX error codes.

Veja Também


Funções cURL
PHP Manual