-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.Progess
Andrew Lambert edited this page Aug 9, 2016
·
20 revisions
#libcURL.EasyHandle.Progress
##Event Signature
Event Function Progress(dlTotal As Int64, dlNow As Int64, ulTotal As Int64, ulNow As Int64) As Boolean
##Parameters
Name | Type | Comment |
---|---|---|
dlTotal | Int64 | The total number of bytes libcURL expects to download in this transfer. |
dlNow | Int64 | The number of bytes downloaded so far. |
ulTotal | Int64 | The total number of bytes libcURL expects to upload in this transfer. |
ulNow | Int64 | The number of bytes uploaded so far. |
##Return value
Return True
to abort the transfer.
##Remarks This event handles either the CURLOPT_XFERINFOFUNCTION (libcURL 7.32.0 and newer) or the CURLOPT_PROGRESSFUNCTION callbacks. The selection will be made at runtime.
This event will be raised at a varying but frequent interval. If you don't need it then you should consider disabling progress callbacks by setting the UseProgressEvent property to False
. This can provide a modest performance boost.
##See also
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.