nsIStreamProvider

IID:d10ef7a9-b728-43d4-9c49-74172186d691
Inherits From:nsIRequestObserver

Methods

void onDataWritable ( nsIRequest request , nsISupports context , nsIOutputStream outputStream , PRUint32 offset , PRUint32 count )

void onDataWritable ( nsIRequest request , nsISupports context , nsIOutputStream outputStream , PRUint32 offset , PRUint32 count )

Called when data may be written to the channel.

An exception thrown from onDataWritable has the side-effect of causing the request to be canceled.

Arguments:
request: request returned by AsyncWrite
context: opaque parameter passed to AsyncWrite
outputStream: output stream for writing data chunk
offset: current stream position (informational)
count: number of bytes that can be written without blocking

Most XPCOM reference documentation is generated automatically from Mozilla source.
Other content is copyright © 1999 - 2003 XulPlanet.com