libcURL.EasyHandle.Resume - charonn0/RB-libcURL GitHub Wiki

libcURL.EasyHandle.Resume

Method Signature

 Function Resume(Mask As Integer = CURLPAUSE_CONT) As Boolean

Parameters

Name Type Comment
Mask Integer Optional. A bitmask of one or more CURLPAUSE_* constants that controls whether uploads and/or downloads are resumed. If this parameter is not specified then both are resumed.

Return value

If the operation succeeded this method returns True. If it returns False the operation failed and the curl error number is stored in EasyHandle.LastError.

Remarks

Resumes a transfer which was paused either by using the Pause method, or by returning CURL_READFUNC_PAUSE from DataNeeded or CURL_WRITEFUNC_PAUSE from DataAvailable.

See also