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.

nsIStreamLoaderObserver

IID:359F7990-D4E9-11d3-A1A5-0050041CAF44
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void onStreamComplete ( nsIStreamLoader loader , nsISupports ctxt , nsresult status , PRUint32 resultLength , arrayof PRUint8 result )

void onStreamComplete ( nsIStreamLoader loader , nsISupports ctxt , nsresult status , PRUint32 resultLength , arrayof PRUint8 result )

Called when the entire stream has been loaded.

This method will always be called asynchronously by the nsIStreamLoader involved, on the thread that called the loader's init() method.

Arguments:
loader: the stream loader that loaded the stream.
ctxt: the context parameter of the underlying channel
status: the status of the underlying channel
resultLength: the length of the data loaded
result: the data

References

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

nsIStreamLoader.init

Reference documentation is generated from Mozilla's source.