url property
Returns the resolved URL for the WebSocket connection.
This property is read-only.
Syntax
| JavaScript |
|---|
sURL = object.url |
Property values
Type: DOMString
String representing an absolute URL.
Remarks
You can use this property to make sure that the URL that is used for the connection is parsed the way the app expects.
See also
Show: