SMTP.onProgress

The event handler that gets called to inform of upload/download progress.

More...
struct SMTP
version(StdDdoc)
@property
void
onProgress
(
int delegate
(
size_t dlTotal
,
size_t dlNow
,
size_t ulTotal
,
size_t ulNow
)
callback
)

Detailed Description

Callback parameters

$(CALLBACK_PARAMS)

Callback returns

Return 0 from the callback to signal success, return non-zero to abort transfer.

Meta

Suggestion Box / Bug Report