-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.DataAvailable
Andrew Lambert edited this page Jun 17, 2015
·
32 revisions
#libcURL.EasyHandle.DataAvailable
##Event Signature
Event Function DataAvailable(NewData As String) As Integer##Parameters
| Name | Type | Comment |
|---|---|---|
| NewData | String | The data that is available. |
##Return value
The number of bytes successfully consumed which should be equal to the number of bytes provided. You may also return CURL_WRITEFUNC_PAUSE to pause the transfer.
##Notes This event is raised in response to libcURL invoking EasyHandle.WriteCallback. The new data is discarded once this event returns.
You must return the number of bytes that were successfully handled; if the number of bytes handled is different from the number of bytes provided then libcURL will assume that an error has occurred.
##See also
- EasyHandle._curlWrite
- EasyHandle.WriteCallback
- EasyHandle.cURLIOCallback
- CURLOPT_WRITEFUNCTION in the libcURL documentation
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-26 Andrew Lambert, offered under the CC BY-SA 3.0 License.