dojox/io/proxy/xip (version 1.10)

Summary

Object that implements the iframe handling for XMLHttpRequest IFrame Proxying.

Do not use this object directly. See the Dojo Book page on XMLHttpRequest IFrame Proxying: http://dojotoolkit.org/book/dojo-book-0-4/part-5-connecting-pieces/i-o/cross-domain-xmlhttprequest-using-iframe-proxy Usage of XHR IFrame Proxying does not work from local disk in Safari.

Property Summary

Method Summary

Properties

_callbackName
Defined by: dojox/io/proxy/xip
_isWebKit
Defined by: dojox/io/proxy/xip
_state
Defined by: dojox/io/proxy/xip
_stateIdCounter
Defined by: dojox/io/proxy/xip
urlLimit
Defined by: dojox/io/proxy/xip
xipClientUrl
Defined by: dojox/io/proxy/xip

Methods

_realSend(facade)
Defined by dojox/io/proxy/xip

starts the actual xdomain request using the provided facade.

Parameter Type Description
facade undefined
Returns:string
_xhrObjOld()
Returns:instance
createFacade()
Defined by dojox/io/proxy/xip
Returns:instance | undefined
destroyState(stateId)
Defined by dojox/io/proxy/xip
Parameter Type Description
stateId String
fragmentReceived(frag)
Defined by dojox/io/proxy/xip
Parameter Type Description
frag undefined
fragmentReceivedEvent(evt)
Defined by dojox/io/proxy/xip

HTML5 document messaging endpoint. Unpack the event to see if we want to use it.

Parameter Type Description
evt undefined
frameLoaded(stateId)
Defined by dojox/io/proxy/xip
Parameter Type Description
stateId String
makeServerUrl(stateId,cmd,message)
Defined by dojox/io/proxy/xip
Parameter Type Description
stateId undefined
cmd undefined
message undefined
Returns:string
receive(stateId,urlEncodedData)
Defined by dojox/io/proxy/xip
Parameter Type Description
stateId String
urlEncodedData String
send(facade)
Defined by dojox/io/proxy/xip

starts the xdomain request using the provided facade. This method first does some init work, then delegates to _realSend.

Parameter Type Description
facade Object
Returns:null | undefined
sendRequest(stateId,encodedData)
Defined by dojox/io/proxy/xip
Parameter Type Description
stateId undefined
encodedData undefined
sendRequestPart(stateId)
Defined by dojox/io/proxy/xip
Parameter Type Description
stateId undefined
sendRequestStart(stateId)
Defined by dojox/io/proxy/xip
Parameter Type Description
stateId undefined
setServerUrl(stateId,cmd,message)
Defined by dojox/io/proxy/xip
Parameter Type Description
stateId undefined
cmd undefined
message undefined
unpackMessage(encodedMessage)
Defined by dojox/io/proxy/xip
Parameter Type Description
encodedMessage undefined
Returns:object
XhrIframeFacade(ifpServerUrl)
Defined by dojox/io/proxy/xip

XMLHttpRequest facade object used by dojox.io.proxy.xip.

Do not use this object directly. See the Dojo Book page on XMLHttpRequest IFrame Proxying: http://dojotoolkit.org/book/dojo-book-0-4/part-5-connecting-pieces/i-o/cross-domain-xmlhttprequest-using-iframe-proxy

Parameter Type Description
ifpServerUrl undefined
Error in the documentation? Can’t find what you are looking for? Let us know!