WebSocket: url property

Note: This feature is available in Web Workers.

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

Value

A string.

Specifications