new StringWriter(streamnon-null)
A writer which automatically writes to the given output stream with text
data.
Parameters:
Name | Type | Description |
---|---|---|
stream |
Guacamole.OutputStream | The stream that data will be written to. |
Methods
sendEnd()
Signals that no further text will be sent, effectively closing the
stream.
sendText(textnon-null)
Sends the given text.
Parameters:
Name | Type | Description |
---|---|---|
text |
string | The text to send. |
Events
onack
Fired for received data, if acknowledged by the server.
Parameters:
Name | Type | Description |
---|---|---|
status |
Guacamole.Status | The status of the operation. |