vertx / io.vertx.ext.consul / Watch / services

# services

`open static fun services(vertx: Vertx): Watch<ServiceList>`

Creates `Watch` to monitoring the list of available services. The underlying Consul client will be created with default options. This maps to the /v1/catalog/services API internally.

### Parameters

`vertx` - the `Vertx` instance

Return
the `Watch` instance

`open static fun services(vertx: Vertx, options: ConsulClientOptions): Watch<ServiceList>`

Creates `Watch` to monitoring the list of available services. This maps to the /v1/catalog/services API internally.

### Parameters

`vertx` - the `Vertx` instance

`options` - the options to create underlying Consul client

Return
the `Watch` instance