Class: InputStream

Guacamole.InputStream(clientnon-null, indexnon-null)

new InputStream(clientnon-null, indexnon-null)

An input stream abstraction used by the Guacamole client to facilitate transfer of files or other binary data.
Parameters:
Name Type Description
client Guacamole.Client The client owning this stream.
index number The index of this stream.
Source:

Members

(non-null) index :number

The index of this stream.
Type:
  • number
Source:

Methods

sendAck(messagenon-null, codenon-null)

Acknowledges the receipt of a blob.
Parameters:
Name Type Description
message string A human-readable message describing the error or status.
code number The error code, if any, or 0 for success.
Source:

Events

onblob

Called when a blob of data is received.
Parameters:
Name Type Description
data string The received base64 data.
Source:

onend

Called when this stream is closed.
Source: