ng-stomp
ng-stomp copied to clipboard
:bookmark_tabs: STOMP for AngularJS
https://github.com/beevelop/ng-stomp/blob/a20f132bc6df94f73b6a2f9fafdd0a440a6848c5/src/ng-stomp.js#L31 Please update above `new SockJS()` to `new WebSocket()` because new rabbitmq version its not connected using ```new SockJS()``` and also update endpoint to ```ws://127.0.0.1:15674/ws``` ` this.sock = new WebSocket(endpoint,...
The connection has not been established yet error on console just after onclose event is triggred.
I am getting the following error on close in production min-bower-20180201_224511-57e1187.js:136 Error: InvalidStateError: The connection has not been established yet at d.send (min-bower-20180201_224511-57e1187.js:21168) at b._transmit (min-bower-20180201_224511-57e1187.js:21169) at b.disconnect (min-bower-20180201_224511-57e1187.js:21170) at...
Using "ng-stomp": "0.5.0" in my package.json file with the ng-stomp standalone via bower, I always get the following exception, Any solution? ``` Uncaught SyntaxError: JSON.parse at Object.function.JSON.parse.JSON.parse (ng-stomp.standalone.min.js:24) at c.XHRLocalObject.f.onfinish...
This introduces a new $stomp.setScopeApply(apply) option to simplify subscription callbacks that are making `$scope` content changes. Here is an example of using this option: ``` .controller('MyCtrl', function ($scope, $stomp) {...