GoLang curl_multi_remove_handle

request it (311)
GoLang replacement for PHP's curl_multi_remove_handle [edit | history]



Do you know a GoLang replacement for PHP's curl_multi_remove_handle? Write it!

PHP curl_multi_remove_handle

PHP original manual for curl_multi_remove_handle [ show | php.net ]

curl_multi_remove_handle

(PHP 5, PHP 7)

curl_multi_remove_handleRemove a multi handle from a set of cURL handles

Description

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.

Parameters

mh

A cURL multi handle returned by curl_multi_init().

ch

A cURL handle returned by curl_init().

Return Values

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

See Also