vertx / io.vertx.reactivex.core.net / NetSocket / rxSendFile

rxSendFile

open fun rxSendFile(filename: String): Completable

Same as io.vertx.reactivex.core.net.NetSocket#sendFile but also takes a handler that will be called when the send has completed or a failure has occurred

Parameters

filename - file name of the file to send

Return

open fun rxSendFile(filename: String, offset: Long): Completable

Same as io.vertx.reactivex.core.net.NetSocket#sendFile but also takes a handler that will be called when the send has completed or a failure has occurred

Parameters

filename - file name of the file to send

offset - offset

Return

open fun rxSendFile(filename: String, offset: Long, length: Long): Completable

Same as io.vertx.reactivex.core.net.NetSocket#sendFile but also takes a handler that will be called when the send has completed or a failure has occurred

Parameters

filename - file name of the file to send

offset - offset

length - length

Return