vertx / io.vertx.reactivex.servicediscovery.types / HttpEndpoint / rxGetWebClient

# rxGetWebClient

`open static fun rxGetWebClient(discovery: ServiceDiscovery, filter: JsonObject): Single<WebClient>`

Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails.

### Parameters

`discovery` - The service discovery instance

`filter` - The filter, optional

Return

`open static fun rxGetWebClient(discovery: ServiceDiscovery, filter: JsonObject, conf: JsonObject): Single<WebClient>`

Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails. This method accepts a configuration for the HTTP client

### Parameters

`discovery` - The service discovery instance

`filter` - The filter, optional

`conf` - the configuration of the client

Return

`open static fun rxGetWebClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): Single<WebClient>`

Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails.

### Parameters

`discovery` - The service discovery instance

`filter` - The filter

Return

`open static fun rxGetWebClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, conf: JsonObject): Single<WebClient>`

Convenient method that looks for a HTTP endpoint and provides the configured . The async result is marked as failed is there are no matching services, or if the lookup fails. This method accepts a configuration for the HTTP client.

### Parameters

`discovery` - The service discovery instance

`filter` - The filter

`conf` - the configuration of the client

Return