url

Returns the URL that was used to establish the WebSocket connection.

MDN Reference