Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIDNSListener

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.

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh
 Last updated by: Sheppy,