Class Index | File Index

Classes


Class glow.net.CrossDomainResponse


Defined in: core.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Response object for cross-domain requests.
Method Summary
Method Attributes Method Name and Description
 
json(safeMode)
Gets the body of the response as a JSON object.
 
Gets the body of the response as a glow.NodeList.
 
text()
Gets the body of the response as plain text.
Class Detail
glow.net.CrossDomainResponse()
Response object for cross-domain requests. This is provided in glow.net.CrossDomainRequest's 'load' event.
Method Detail
{object} json(safeMode)
Gets the body of the response as a JSON object.
Parameters:
{boolean} safeMode Optional, Default: false
If true, the response will be parsed using a string parser which will filter out non-JSON javascript, this will be slower but recommended if you do not trust the data source.
Returns:
{object}

{glow.NodeList} nodeList()
Gets the body of the response as a glow.NodeList.
Returns:
{glow.NodeList}

{string} text()
Gets the body of the response as plain text.
Returns:
{string}

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Jun 14 2010 14:24:09 GMT+0100 (BST)