Modules/cURL/curl pause

From Multi Theft Auto: Wiki


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

Pause a request or result

Syntax

CURLcode curlPause(CURL handler, int bitmask)

Required arguments

  • handler The curl handler
  • bitmask An integer representing what you want to pause. Read more about this here

Optional arguments

None

Returns

Returns a CURLcode, if everything is oke it returns CURLE_OK

Example

curlPause( curl, CURLPAUSE_RECV );
curlPerform( ... );

See also