View source code
Display the source code in etc/c/curl.d from which this page was generated on
github.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Page wiki
View or edit the community-maintained wiki page associated with this page.
Function etc.c.curl.curl_easy_getinfo
Prototype
extern(C) int curl_easy_getinfo( void* curl, int info );
Name
curl_easy_getinfo
()
Description
Request internal information from the curl
session with this function. The
third argument MUST be a pointer to a long, a pointer to a char * or a
pointer to a double (as the documentation describes elsewhere). The data
pointed to will be filled in accordingly and can be relied upon only if the
function returns CURLE_OK. This function is intended to get used *AFTER* a
performed transfer, all results from this function are undefined until the
transfer is completed.