Class Index | File Index

Classes


Class Guacamole.DataURIReader


Defined in: DataURIReader.js.

Class Summary
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 Summary
Field Attributes Field Name and Description
<inner>  
uri
Current data URI.
Method Summary
Method Attributes Method Name and Description
 
Returns the data URI of all data received through the underlying stream thus far.
Event Summary
Event Attributes Event Name and Description
 
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.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Sep 08 2015 22:31:29 GMT-0700 (PDT)