MessageEvent

由 2 位貢獻者:

編撰中
本頁仍未完成

當伺服器傳來資料時,客戶端會收到一個 MessageEvent,由 WebSocket 物件 onmessage 表示的監聽器接收。

屬性

屬性 形態 描述
data DOMString | Blob | ArrayBuffer 伺服器傳來的資料。

參見

瀏覽器兼容

功能 Chrome Firefox (Gecko) Internet Explorer Opera Safari
基本支援 ? 4.0 (2.0) ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
基本支援 ? ? ? ? ?

Gecko 備註

Gecko 6.0 備註
(Firefox 6.0 / Thunderbird 6.0 / SeaMonkey 2.3)

此時此刻,Gecko 不支援 ArrayBufferBlob 作為 data

Document Tags and Contributors

標籤: 
Contributors to this page: teoli, Kennyluck
最近更新: teoli,