message

この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

The message handler is executed when data is received through a websocket.

General info

Specification
WebSocket
Interface
Event
Bubbles
No
Cancelable
No
Target
WebSocket
Default Action
None

Properties

Property Type Description
target Read only EventTarget The event target (the topmost target in the DOM tree).
type Read only DOMString The type of event.
bubbles Read only boolean Does the event normally bubble?
cancelable Read only boolean Is it possible to cancel the event?
data Read only varies The data associated with the message.

See also

Document Tags and Contributors

Contributors to this page: Sheppy, ethertank, louisremi
最終更新者: Sheppy,