[英]Why I can't see the array of protocol on javascript WebSocket?
The
WebSocket.protocol
read-only property returns the name of the sub-protocol the server selected;WebSocket.protocol
只读属性返回服务器选择的子协议的名称。 this will be one of the strings specified in the protocols parameter when creating the WebSocket object. 这将是创建WebSocket对象时在protocols参数中指定的字符串之一。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.