Difference between revisions of "Xojo.Net.HTTPSocket.ReceiveProgress"

From Xojo Documentation

(Created page with "{{EventBox | name=ReceiveProgress | owner=Xojo.Net.HTTPSocket | parameters=bytesReceived As Int64, totalBytes As Int64, newData As Xojo.Core.MemoryBlock | owne...")
 
(Parameters)
 
Line 13: Line 13:
 
|-
 
|-
 
| bytesReceived
 
| bytesReceived
| The number of bytes received in this chunk (not the total number of bytes received so far).
+
| The number of bytes received out of the ''totalBytes'', but not including what is in ''newData''.
 
|-
 
|-
 
| totalBytes
 
| totalBytes

Latest revision as of 21:11, 17 January 2019

Event


Xojo.Net.HTTPSocket.ReceiveProgress(bytesReceived As Int64, totalBytes As Int64, newData As Xojo.Core.MemoryBlock)

Supported for all project types and targets.

Call periodically as data is received.

Parameters

Parameter Description
bytesReceived The number of bytes received out of the totalBytes, but not including what is in newData.
totalBytes The total bytes available to receive.
newData The new data that was received.