vertx / io.vertx.reactivex.core.http / HttpServerResponse / rxSendFile

# rxSendFile

`open fun rxSendFile(filename: String): Completable`

Like `io.vertx.reactivex.core.http.HttpServerResponse#sendFile` but providing a handler which will be notified once the file has been completely written to the wire.

### Parameters

`filename` - path to the file to serve

Return

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

Like `io.vertx.reactivex.core.http.HttpServerResponse#sendFile` but providing a handler which will be notified once the file has been completely written to the wire.

### Parameters

`filename` - path to the file to serve

`offset` - the offset to serve from

Return

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

Like `io.vertx.reactivex.core.http.HttpServerResponse#sendFile` but providing a handler which will be notified once the file has been completely written to the wire.

### Parameters

`filename` - path to the file to serve

`offset` - the offset to serve from

`length` - the length to serve to

Return