Controller

Manages sending/reading files using kotlinx.io.Source/kotlinx.io.Sink.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun onChunkProcessed(processedBytes: Long)

Override this method to handle event when each chunk was sent successfully.

Link copied to clipboard
fun stop()

Stops reading/writing file after processing the current chunk.