Skip to content

libcURL.cURLSession.SetUploadData

Andrew Lambert edited this page Apr 18, 2022 · 2 revisions

libcURL.cURLSession.SetUploadData

Method Signature

 Sub SetUploadData(UploadData As MemoryBlock)

Remarks

Sets a MemoryBlock containing all data to be uploaded during the next transfer. If you pass a Readable object to any of the transfer methods (get, post, put, perform) then the data passed to this method will be discarded.

Setting the upload data using this method is incompatible with using the Put transfer method of the cURLClient subclass; call cURLSession.Perform instead.

Once the transfer completes the UploadData is discarded; it does not persist between transfers.

Clone this wiki locally