Xbasic

Extension::CurlProgress Class

Description

Class to track progress on a curl operation.

Properties

download_totalNumeric

Numeric download_total property

download_nowNumeric

Numeric download_now property

upload_totalNumeric

Numeric upload_total property

upload_nowNumeric

Numeric upload_now property

Methods

Abort Method

Causes the next 'progress' callback to force an abort.

Aborted Method

Returns true if abort was called....

Busy Method

Returns true when progress is busy (in use)....

CreateXdialogProgress Method

Creates a xdialog progress object that logs changes to an xdialog.

Done Method

Called when curl command has finished....

SetFrequency Method

Sets the frequency of update (size of chunks to report a change on).

Start Method

Called when progress is added.

Update Method

Update the progress (called by the curl when progress is updated).

See Also