Modules/cURL/curl cleanup

From Multi Theft Auto: Wiki
Revision as of 11:09, 22 June 2014 by DutchCaffeine (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This function is provided by the external module cURL. You must install this module to use this function.

Cleans up the curl handle.

Syntax

curlCleanup(curl handler)

Required arguments

  • curl The curl handler

Returns

Nothing usefull

Example

curl = curlInit("http://mtasa.com/");
if not curl then
    outputDebugString("Can't connect to http://mtasa.com/ with cURL");
else
    curlPerform(curl);
    curlCleanup(curl);
    curlClose(curl);
end


See also