vertx / io.vertx.reactivex.ext.consul / ConsulClient / getValues

# getValues

`open fun getValues(keyPrefix: String, resultHandler: Handler<AsyncResult<KeyValueList>>): ConsulClient`

Returns the list of key/value pairs that corresponding to the specified key prefix. An empty io.vertx.ext.consul.KeyValueList object will be returned if no such key prefix is found.

### Parameters

`keyPrefix` - the prefix

`resultHandler` - will be provided with list of key/value pairs

Return
reference to this, for fluency