vertx / io.vertx.rxjava.ext.consul / ConsulClient / renewSession

renewSession

open fun renewSession(id: String, resultHandler: Handler<AsyncResult<Session>>): ConsulClient

Renews the given session. This is used with sessions that have a TTL, and it extends the expiration by the TTL

Parameters

id - the ID of session that should be renewed

resultHandler - will be provided with info of renewed session

Return
reference to this, for fluency