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

# rxSendFile

`open fun rxSendFile(filename: String): Single<Void>`

Like `io.vertx.rxjava.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): Single<Void>`

Like `io.vertx.rxjava.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): Single<Void>`

Like `io.vertx.rxjava.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