new StringReader(streamnon-null)
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:
Name | Type | Description |
---|---|---|
stream |
Guacamole.InputStream | The stream that data will be read from. |
Events
onend
Fired once this stream is finished and no further data will be written.
ontext
Fired once for every blob of text data received.
Parameters:
Name | Type | Description |
---|---|---|
text |
string | The data packet received. |