Class: StringReader

Guacamole.StringReader(stream)

new 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:
Name Type Description
stream Guacamole.InputStream The stream that data will be read from.
Source:

Events

onend

Fired once this stream is finished and no further data will be written.
Source:

ontext

Fired once for every blob of text data received.
Parameters:
Name Type Description
text String The data packet received.
Source: