Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

HTML5 Web Messaging

This section contains the API for HTML5 Web Messaging, which includes channel messaging and ports.

In this section

TopicDescription

MessageChannel

Provides a two way asynchronous messaging through two related ports enabling intra, and inter-window communication.

MessagePort

Provides an object where messages can be sent and received through a MessageChannel.

close

Closes a MessagePort from an existing MessageChannel.

postMessage (MessagePort)

Sends messages between two connected MessagePorts in a MessageChannel.

postMessage (window)

Sends a cross-document message.

start

Allows the MessagePort to begin receiving messages.

port1

Returns the first MessagePort object of a MessageChannel object.

port2

Returns the second MessagePort object of a MessageChannel object.

 

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.