connectReceivedData

fun connectReceivedData(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>) -> Unit): <Error class: unknown class>

This signal is emitted after response is received, every time new data has been written to the destination. It's useful to know the progress of the download operation.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: dataLength the length of data received in bytes