The WebSocket.url
read-only property returns the absolute
URL of the WebSocket
as resolved by the constructor.
Syntax
var url = aWebSocket.url;
Value
A DOMString
.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'WebSocket: url' in that specification. |
Living Standard | Initial definition |
Browser compatibility
BCD tables only load in the browser