std.net.curl.SMTP.onSend
- multiple declarations
Function SMTP.onSend
The event handler that gets called when data is needed for sending. The
length of the void[]
specifies the maximum number of bytes that can
be sent.
void onSend
(
ulong delegate(void[]) callback
) @property;
Returns
The callback returns the number of elements in the buffer that have been
filled and are ready to send.
The special value
can be returned in order to abort the
current request.
The special value
can be returned in order to pause the
current request.
Function SMTP.onSend
The event handler that gets called when data is needed for sending. The
length of the void[]
specifies the maximum number of bytes that can
be sent.
void onSend
(
ulong delegate(void[]) callback
) @property;
Returns
The callback returns the number of elements in the buffer that have been
filled and are ready to send.
The special value
can be returned in order to abort the
current request.
The special value
can be returned in order to pause the
current request.
Authors
Jonas Drewsen. Some of the SMTP code contributed by Jimmy Cao.