import "nsIDNSService.idl";
Public Member Functions | |
| nsICancelable | asyncResolve (in AUTF8String aHostName, in unsigned long aFlags, in nsIDNSListener aListener, in nsIEventTarget aListenerTarget) |
| kicks off an asynchronous host lookup. | |
| nsIDNSRecord | resolve (in AUTF8String aHostName, in unsigned long aFlags) |
| called to synchronously resolve a hostname. | |
Public Attributes | |
| readonly attribute AUTF8String | myHostName |
| const unsigned long | RESOLVE_BYPASS_CACHE = (1 << 0) |
| if set, this flag suppresses the internal DNS lookup cache. | |
| const unsigned long | RESOLVE_CANONICAL_NAME = (1 << 1) |
| if set, the canonical name of the specified host will be queried. | |
|
||||||||||||||||||||
|
kicks off an asynchronous host lookup.
|
|
||||||||||||
|
called to synchronously resolve a hostname. warning this method may block the calling thread for a long period of time. it is extremely unwise to call this function on the UI thread of an application.
|
|
|
|
|
|
if set, this flag suppresses the internal DNS lookup cache.
|
|
|
if set, the canonical name of the specified host will be queried.
|
1.4.4