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.
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.
- 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.