WebSocket.url

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

The WebSocket.url read-only property returns the absolute URL of the WebSocket as resolved by the constructor.

WebSocket.url是一个只读属性,他将返回一个由WebSocket构造器生成的绝对路径的 URL

语法

var url = aWebSocket.url;

 

A DOMString.

Specifications

Specification Status Comment
HTML Living Standard
WebSocket: url
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

文档标签和贡献者

此页面的贡献者: HIKALU-Z
最后编辑者: HIKALU-Z,