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

# getValueWithOptions

`open fun getValueWithOptions(key: String, options: BlockingQueryOptions, resultHandler: Handler<AsyncResult<KeyValue>>): ConsulClient`

Returns key/value pair that corresponding to the specified key. An empty io.vertx.ext.consul.KeyValue object will be returned if no such key is found. This is blocking query unlike `io.vertx.rxjava.ext.consul.ConsulClient#getValue`

### Parameters

`key` - the key

`options` - the blocking options

`resultHandler` - will be provided with key/value pair

Return
reference to this, for fluency