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.
nsIUnicharStreamListener
| IID: | 4a7e9b62-fef8-400d-9865-d6820f630b4c |
| Inherits From: | nsIRequestObserver |
| Status: | FROZEN |
nsIUnicharStreamListener is very similar to nsIStreamListener with the difference being that this interface gives notifications about data being available after the raw data has been converted to UTF-16.
NsIUnicharStreamListener
Methods
void onUnicharDataAvailable ( nsIRequest request , nsISupports context , AString data )
void onUnicharDataAvailable ( nsIRequest request , nsISupports context , AString data )
Called when the next chunk of data (corresponding to the request) is available.
An exception thrown from onUnicharDataAvailable has the side-effect of causing the request to be canceled.
- Arguments:
- request: request corresponding to the source of the data
- context: user defined context
- data: the data chunk
Reference documentation is generated from Mozilla's source.
