WebSocket.protocol
语法
var protocol = aWebSocket.protocol;
返回值
规范
Specification | Status | Comment |
---|---|---|
HTML Living Standard WebSocket: protocol |
Living Standard | Initial definition |
浏览器兼容性
BCD tables only load in the browser
var protocol = aWebSocket.protocol;
Specification | Status | Comment |
---|---|---|
HTML Living Standard WebSocket: protocol |
Living Standard | Initial definition |
BCD tables only load in the browser