Class: StringReader

Guacamole.StringReader(streamnon-null)

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

Members

(inner, non-null) utf8Parser :Guacamole.UTF8Parser

Parser for received UTF-8 data.
Type:
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: