web api instance property
WebSocket: url property
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.