Skip to content

libcURL.MultipartForm.SerializePart

Andrew Lambert edited this page Nov 26, 2022 · 9 revisions

libcURL.MultipartForm.SerializePart

Event Signature

 Event Function SerializePart(Data As MemoryBlock, Length As Integer) As Integer

Parameters

Name Type Comment
Data MemoryBlock A pointer to the serialized form data.
Length Integer The length, in bytes, of the Data.

Return value

The number of bytes successfully consumed, which should be equal to the number of bytes provided.

Remarks

This event handles the curl_formget_callback callback if Nil is passed to the Serialize(Writeable) method. This event will be raised one or more times depending on the size of the form.

Clone this wiki locally