curl_easy_getinfo

Request internal information from the curl session with this function. The third argument MUST be a buffer for value (num, string, float) The data pointed-to will be filled in accordingly and can be relied upon only if the function returns CURLE_OK. Use this function AFTER a performed transfer if you want to get transfer related data. see also https://curl.haxx.se/libcurl/c/curl_easy_getinfo.html

Syntax

native CURLcode: curl_easy_getinfo(const CURL: handle, const CURLINFO: info, any: ...)

Usage

handle Curl handle
info Necessary info (see CURLINFO enum)

Return

If — the operation was successful, CURLE_OK is returned. Otherwise an appropriate error code will be returned.

Errors

If passed curl handle is not a valid or or undefined info

Defined in curl.inc at line 144 . This documentation was automatically generated from source.