Class Guacamole.DataURIReader
Defined in: DataURIReader.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Guacamole.DataURIReader(stream, mimetype)
A reader which automatically handles the given input stream, returning
received blobs as a single data URI built over the course of the stream.
|
| Field Attributes | Field Name and Description |
|---|---|
| <inner> |
Current data URI.
|
| Method Attributes | Method Name and Description |
|---|---|
|
getURI()
Returns the data URI of all data received through the underlying stream
thus far.
|
| Event Attributes | Event Name and Description |
|---|---|
|
onend()
Fired once this stream is finished and no further data will be written.
|
Class Detail
Guacamole.DataURIReader(stream, mimetype)
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:
- {Guacamole.InputStream} stream
- The stream that data will be read from.
- mimetype
Field Detail
<inner>
{String}
uri
Current data URI.
Method Detail
{String}
getURI()
Returns the data URI of all data received through the underlying stream
thus far.
- Returns:
- {String} The data URI of all data received through the underlying stream thus far.
Event Detail
onend()
Fired once this stream is finished and no further data will be written.