EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

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.

 

 

 

표시:
© 2014 Microsoft