lookup_records_async
Description:
[ Version ( since = "2.34" ) ]
public virtual async List<Variant> lookup_records_async (string rrname, ResolverRecordType record_type, Cancellable? cancellable = null) throws Error
public virtual async List<Variant> lookup_records_async (string rrname, ResolverRecordType record_type, Cancellable? cancellable = null) throws Error
Begins asynchronously performing a DNS lookup for the given rrname
, and eventually calls callback
, which must call
lookup_records_async.end to get the final result.
See lookup_records for more details.
Parameters:
this |
a Resolver |
rrname |
the DNS name to look up the record for |
record_type |
the type of DNS record to look up |
cancellable |
a Cancellable, or null |
callback |
callback to call after resolution completes |
user_data |
data for |