curl_easy_perform

Invoke this function after curl_easy_init and all the curl_easy_setopt calls are made, and will perform the transfer as described in the options. It must be called with the same curl handle as input as the curl_easy_init call returned. You can do any amount of calls to curl_easy_perform while using the same curl handle. If you intend to transfer more than one file, you are even encouraged to do so. libcurl will then attempt to re-use the same connection for the following transfers, thus making the operations faster, less CPU intense and using less network resources. Just note that you will have to use curl_easy_setopt between the invokes to set options for the following curl_easy_perform. see also https://curl.haxx.se/libcurl/c/curl_easy_perform.html

Syntax

native curl_easy_perform(const CURL: handle, const callback[], const data[] = {}, const len = 0)

Usage

handle Curl handle
callback The forward to call after request completed
data Any data to pass to the callback forward
len Maximum size of the data
Defined in curl.inc . This documentation was automatically generated from source.