vertx / io.vertx.kotlin.servicediscovery.types / HttpEndpoint / getClientAwait

# getClientAwait

`suspend fun getClientAwait(discovery: ServiceDiscovery, filter: JsonObject): HttpClient`

Suspending version of method io.vertx.servicediscovery.types.HttpEndpoint.getClient

### Parameters

`discovery` - The service discovery instance

`filter` - The filter, optional

Return

HttpClient

NOTE: This function has been automatically generated from io.vertx.servicediscovery.types.HttpEndpoint using Vert.x codegen.

`suspend fun getClientAwait(discovery: ServiceDiscovery, filter: JsonObject, conf: JsonObject): HttpClient`

Suspending version of method io.vertx.servicediscovery.types.HttpEndpoint.getClient

### Parameters

`discovery` - The service discovery instance

`filter` - The filter, optional

`conf` - the configuration of the client

Return

HttpClient

NOTE: This function has been automatically generated from io.vertx.servicediscovery.types.HttpEndpoint using Vert.x codegen.

`suspend fun getClientAwait(discovery: ServiceDiscovery, filter: (Record) -> Boolean): HttpClient`

Suspending version of method io.vertx.servicediscovery.types.HttpEndpoint.getClient

### Parameters

`discovery` - The service discovery instance

`filter` - The filter

Return

HttpClient

NOTE: This function has been automatically generated from io.vertx.servicediscovery.types.HttpEndpoint using Vert.x codegen.

`suspend fun getClientAwait(discovery: ServiceDiscovery, filter: (Record) -> Boolean, conf: JsonObject): HttpClient`

Suspending version of method io.vertx.servicediscovery.types.HttpEndpoint.getClient

### Parameters

`discovery` - The service discovery instance

`filter` - The filter

`conf` - the configuration of the client

Return

HttpClient

NOTE: This function has been automatically generated from io.vertx.servicediscovery.types.HttpEndpoint using Vert.x codegen.