Date: Fri, 29 Mar 2024 09:50:17 +0000 (UTC) Message-ID: <2079158336.1059.1711705817877@ip-10-30-146-46.us-west-2.compute.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1058_1306726537.1711705817874" ------=_Part_1058_1306726537.1711705817874 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
WSock is an Angular Factory in the&nbs=
p;Remote module with the name wsock.js
. This service was added as a wrapper for creating WebSocke=
ts specifically so that they could be mocked during unit tests. To use this=
function, see the documentation on injecting Angular services.
Name | Summary |
---|---|
n=
ewWebSocket |
Creates a new Javascript WebSocket. |
Creates a new Javascript WebSocket.
Example Usage | Arguments | Return Value |
---|---|---|
wsock.newWebSocket(url); |
url - url for the =
new WebSocket to connect to |
the WebSocket object |