Note: This feature is available in Web Workers.
The WebSocket.url read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
WebSocket.url
WebSocket
A string.