vertx / io.vertx.core.dns / DnsClient / resolveTXT

# resolveTXT

`abstract fun resolveTXT(name: String, handler: Handler<AsyncResult<MutableList<String>>>): DnsClient`

Try to resolve the TXT records for the given name.

### Parameters

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

`handler` - the Handler to notify with the AsyncResult. The handler will get notified with a List that contains all resolved Strings. 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.