url

Purl
Bun

Symbol

WebSocket.url

readonly url: string

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

MDN Reference