nsIDNSListener

nsIDNSListener

Methods

onLookupComplete(aRequest, aRecord, aStatus)

called when an asynchronous host lookup completes.

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.