WebSocket.binaryType

这篇翻译不完整。请帮忙从英语翻译这篇文章

WebSocket.binaryType 属性返回连接传送的二进制数据类型

语法

var binaryType = aWebSocket.binaryType;

一个 DOMString:

"blob"
如果 Blob 对象存在。
"arraybuffer"
如果 ArrayBuffer 对象存在。

 

规范

Specification Status Comment
HTML Living Standard
WebSocket: binaryType
Living Standard Initial definition

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support YesEdge ? Firefox Full support YesIE ? Opera Full support YesSafari ? WebView Android ? Chrome Android Full support YesEdge Mobile ? Firefox Android Full support YesOpera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

文档标签和贡献者

此页面的贡献者: jaredhan418
最后编辑者: jaredhan418,