Gio.Resolver::lookup_records_async
function vfunc_lookup_records_async(rrname: String, record_type: Gio.ResolverRecordType, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { }
Begins asynchronously performing a DNS lookup for the given rrname, and eventually calls callback, which must call Gio.Resolver.prototype.lookup_records_finish to get the final result. See Gio.Resolver.prototype.lookup_records for more details.
Since 2.34
- rrname
the DNS name to lookup the record for
- record_type
the type of DNS record to lookup
- cancellable
a Gio.Cancellable, or null
- callback
callback to call after resolution completes