new DataURIReader(streamnon-null, mimetypenon-null)
A reader which automatically handles the given input stream, returning
received blobs as a single data URI built over the course of the stream.
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. |
mimetype |
string | The mimetype of the data being received. |
Methods
getURI() → (non-null) {string}
Returns the data URI of all data received through the underlying stream
thus far.
Returns:
The data URI of all data received through the underlying stream thus
far.
- Type
- string
Events
onend
Fired once this stream is finished and no further data will be written.