Web / API / WebSocket WebSocket: url property WebSockets API no runnable cells web-api-instance-property upstream source WebSockets API The WebSocket.url read-only property returns the absolute URL of the WebSocket as resolved by the constructor. Value A string. Specifications Browser compatibility