curl_easy_cleanup
This function must be the last function to call for an easy session. It is the opposite of the curl_easy_init function and must be called with the same handle as input that a curl_easy_init call returned. This might close all connections this handle has used and possibly has kept open until now - unless it was attached to a multi handle while doing the transfers. Don't call this function if you intend to transfer more files, re-using handles is a key to good performance with libcurl. see also https://curl.haxx.se/libcurl/c/curl_easy_cleanup.html
Syntax
native curl_easy_cleanup(const CURL: handle)
Usage
| handle | Curl handle |
Return
This function has no return value.
Errors
If passed curl handle is not a valid
Defined in
curl.inc
at line 117
.
This documentation was automatically generated from source.