The goog.net.xpc.IframePollingTransport.Sender Class

goog.net.xpc.IframePollingTransport.Sender(url, windowObj)

goog.net.xpc.IframePollingTransport.Sender Utility class to send message-parts to a document from a different origin.

url {string}
The url the other document will use for polling.
windowObj {Object}
The frame used for sending information to.

.send(payload)

Sends a message-part (frame) to the peer. The message-part is encoded and put in the fragment identifier of the URL used for sending (and belongs to the origin/domain of the peer).

payload {string}
The message to send.