url

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

MDN Reference