Modules/cURL/curl close

From Multi Theft Auto: Wiki
Revision as of 11:07, 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.

Closes the curl engine.

Syntax

curlClose(curl handler)

Required arguments

  • curl The curl handler

Returns

True on succes, false otherwise

Example

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


See also