onReceivedData

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

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