mozilla
Your Search Results

    MessageEvent

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

    A MessageEvent is the interface representing a message received by a target, being a WebSocket or a WebRTC RTCDataChannel

    The action triggered by this event is set via an event handler set on WebSocket.onmessage or RTCDataChannel.onmessage.

    Attributes

    Attribute Type Description
    data DOMString | Blob | ArrayBuffer The data from the server.

    See also

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support ? 4.0 (2.0) ? ? ?
    Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support ? ? ? ? ?

    Gecko notes

    Note: As of Gecko 11.0, Gecko supports ArrayBuffer for data, but not Blob.

     

    ドキュメントのタグと貢献者

    Contributors to this page: Sheppy, fscholz, Kennyluck, evilpie, teoli, kscarfone, DirectXMan12
    最終更新者: fscholz,
    サイドバーを隠す