DataReceived

@Serializable
data class DataReceived(val requestId: RequestId, val timestamp: MonotonicTime, val dataLength: Int, val encodedDataLength: Int) : NetworkEvent(source)

Fired when data chunk was received over the network.

Official doc

Constructors

Link copied to clipboard
constructor(requestId: RequestId, timestamp: MonotonicTime, dataLength: Int, encodedDataLength: Int)

Properties

Link copied to clipboard

Data chunk length.

Link copied to clipboard

Actual bytes received (might be less than dataLength for compressed encodings).

Link copied to clipboard

Request identifier.

Link copied to clipboard

Timestamp.