Readonly
commentThe comment given, if any This result is only valid after OnStopRequest has occurred, because it can occur anywhere in the datastream
The encoding to use
The interface to use as a callback for new entries
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Called when the next chunk of data (corresponding to the request) may be read without blocking the calling thread. The onDataAvailable impl must read exactly |aCount| bytes of data before returning.
request corresponding to the source of the data
input stream containing the data chunk
Number of bytes that were sent in previous onDataAvailable calls for this request. In other words, the sum of all previous count parameters.
number of bytes available in the stream
NOTE: The aInputStream parameter must implement readSegments.
An exception thrown from onDataAvailable has the side-effect of causing the request to be canceled.
Called to signify the end of an asynchronous request. This call is always preceded by a call to onStartRequest.
request being observed
reason for stopping (NS_OK if completed successfully)
An exception thrown from onStopRequest is generally ignored.
Generated using TypeDoc
A parser for application/http-index-format