Modules/cURL/curl pause

From Multi Theft Auto: Wiki
Revision as of 08:53, 15 March 2012 by Alexander (talk | contribs) (Created page with "{{Modules/cURL/func_page| description = Pause a request or result| syntax = <syntaxhighlight lang="lua">CURLcode curl_pause(CURL handler, int bitmask)</syntaxhighlight>| required_arguments = * '''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Pause a request or result

Syntax

CURLcode curl_pause(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

  • url The url which you want to connect too.

Returns

Returns a CURLcode, if everything is oke it returns CURLE_OK

Example

curl_pause( curl, CURLPAUSE_RECV );
curl_perform( ... );

See also