ServerMessage.connectWroteChunk

Connect to WroteChunk signal.

Emitted immediately after writing a body chunk for a message.

Note that this signal is not parallel to signalServerMessage::got-chunk; it is emitted only when a complete chunk (added with soup.message_body.MessageBody.append or soup.message_body.MessageBody.appendBytes has been written. To get more useful continuous progress information, use signalServerMessage::wrote-body-data.

class ServerMessage
ulong
connectWroteChunk
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 2
)

Parameters

callback T

signal callback delegate or function to connect

void callback(soup.server_message.ServerMessage serverMessage)

serverMessage the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID