Modules/cURL/curl cleanup

From Multi Theft Auto: Wiki
Revision as of 15:39, 16 July 2011 by Mack Varial (talk | contribs)
Jump to navigation Jump to search


Package-x-generic.png This function is provided by the external module cURL. You must install this module to use this function.

Cleans up the curl handle.

Syntax

curl_cleanup(curl handler)

Required arguments

  • curl The curl handler

Returns

Nothing usefull

Example

curl = curl_init("http://mtasa.com/");
if not curl then
    outputDebugString("Can't connect to http://mtasa.com/ with cURL");
else
    curl_perform(curl);
    curl_cleanup(curl);
    curl_close(curl);
end


See also