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. |
Members
(non-null) index :number
The index of this stream.
Type:
- number
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. |
Events
onblob
Called when a blob of data is received.
Parameters:
Name | Type | Description |
---|---|---|
data |
string | The received base64 data. |
onend
Called when this stream is closed.