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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com