netwerk/dns/nsIDNSListener.idlScriptable
Please add a summary to this article.
Inherits from: nsISupports Last changed in Gecko 1.7

Method overview

void onLookupComplete(in nsICancelable aRequest, in nsIDNSRecord aRecord, in nsresult aStatus);

Methods

onLookupComplete()

Called when an asynchronous host lookup completes.

void onLookupComplete(
  in nsICancelable aRequest,
  in nsIDNSRecord aRecord,
  in nsresult aStatus
);
Parameters
aRequest
The value returned from asyncResolve.
aRecord
The DNS record corresponding to the hostname that was resolved. this parameter is null if there was an error.
aStatus
If the lookup failed, this parameter gives the reason.