Skip to content

libcURL.MultiHandle.PerformOnce

Andrew Lambert edited this page Jun 7, 2015 · 17 revisions

#libcURL.MultiHandle.PerformOnce

##Method Signature

 Function PerformOnce() As Boolean

##Return Value Returns True until all transfers have completed. Call PerformOnce again until it returns False.

##Notes Calling MultiHandle.PerformOnce executes curl_multi_perform once and reads all messages emitted by libcURL during that operation. All EasyHandle and MultiHandle events will be raised on the thread which calls PerformOnce. PerformOnce will not return until all event handlers have returned.

The TransferComplete event will be raised for any completed easy handles.

Unlike MultiHandle.Perform, this method will run the transfers and raise events on the calling thread instead of always on the main thread.

If the stack is not being processed, begins processing the stack. If the stack is already being processed, raises an IllegalLockingException.

See also:

Clone this wiki locally