nsIPrefetchService

IID:933cb52a-2864-4a40-8678-a2d0851b0ef4
Inherits From:nsISupports

This interface is intended to be used as a service. To create an object implementing this interface:

var obj = Components.classes["@mozilla.org/prefetch-service;1"].
            getService(Components.interfaces.nsIPrefetchService);

This interface is implemented by the following components:


Methods

void prefetchURI ( nsIURI URI , nsIURI referrerURI , PRBool explicit )

void prefetchURI ( nsIURI URI , nsIURI referrerURI , PRBool explicit )

Enqueue a request to prefetch the specified URI.

Arguments:
URI: the URI of the document to prefetch
referrerURI: the URI of the referring page
explicit: the link element has an explicit prefetch link type

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com