WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIStreamLoader

IID:8ea7e890-8211-11d9-8bde-f66bad1e3f3a
Inherits From:nsIStreamListener

This interface is implemented by the following components:


Properties

readonly PRUint32 numBytesRead

Gets the number of bytes read so far.

readonly nsIRequest request

Gets the request that loaded this file. null after the request has finished loading.


Methods

void init ( nsIStreamLoaderObserver observer )

void init ( nsIStreamLoaderObserver observer )

Initialize this stream loader, and start loading the data.

Arguments:
observer: An observer that will be notified when the data is complete.

References

This interface is passed as an argument to the following methods:

nsIStreamLoaderObserver.onStreamComplete

Reference documentation is generated from Mozilla's source.