Class Guacamole.StringReader
Defined in: StringReader.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Guacamole.StringReader(stream)
A reader which automatically handles the given input stream, returning
strictly text data.
|
Event Attributes | Event Name and Description |
---|---|
onend()
Fired once this stream is finished and no further data will be written.
|
|
ontext(text)
Fired once for every blob of text data received.
|
Class Detail
Guacamole.StringReader(stream)
A reader which automatically handles the given input stream, returning
strictly text data. Note that this object will overwrite any installed event
handlers on the given Guacamole.InputStream.
- Parameters:
- {Guacamole.InputStream} stream
- The stream that data will be read from.
Event Detail
onend()
Fired once this stream is finished and no further data will be written.
ontext(text)
Fired once for every blob of text data received.
- Parameters:
- {String} text
- The data packet received.