suspend fun getClientAwait(discovery: ServiceDiscovery, filter: JsonObject): HttpClient
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.
discovery
- The service discovery instance
resultHandler
- The result handler
suspend fun getClientAwait(discovery: ServiceDiscovery, filter: JsonObject, conf: JsonObject): HttpClient
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
discovery
- The service discovery instance
conf
- the configuration of the client
resultHandler
- The result handler
suspend fun getClientAwait(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): HttpClient
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.
discovery
- The service discovery instance
resultHandler
- The result handler
suspend fun getClientAwait(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, conf: JsonObject): HttpClient
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.
discovery
- The service discovery instance