Firefox Tomorrow

web api instance property

WebSocket: url property

View on MDN ↗

Available in workers

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

Value

A string.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.