-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.Progess
Andrew Lambert edited this page Nov 26, 2022
·
20 revisions
libcURL.EasyHandle.Progress
Event Function Progress(dlTotal As Int64, dlNow As Int64, ulTotal As Int64, ulNow As Int64) As Boolean
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 True
to abort the transfer.
This event handles either the CURLOPT_XFERINFOFUNCTION (libcURL 7.32.0 and newer) or the CURLOPT_PROGRESSFUNCTION callbacks.
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.
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.