vertx / io.vertx.reactivex.core.dns / DnsClient / resolveSRV

# resolveSRV

`open fun resolveSRV(name: String, handler: Handler<AsyncResult<MutableList<SrvRecord>>>): DnsClient`

Try to resolve the SRV records for the given name.

### Parameters

`name` - the name for which the SRV records should be resolved

`handler` - the to notify with the . The handler will get notified with a List that contains all resolved io.vertx.reactivex.core.dns.SrvRecords. If none was found it will get notified with an empty java.util.List. If an error accours it will get failed.

Return
a reference to this, so the API can be used fluently.