Search the reference...
/
property
Returns the URL that was used to establish the WebSocket connection.
MDN Reference