WSock - WebSocket
WSock is an Angular Factory in the Remote module with the name
wsock.js. This service was added as a wrapper for creating WebSockets specifically so that they could be mocked during unit tests. To use this function, see the documentation on injecting Angular services.
url - url for the new WebSocket to connect to
|the WebSocket object