So, every time I refresh the page, it seems like sockjs is creating a new connection.   I am saving every message to my mongodb on every channel.onmessage, so if I refresh my page 7 times and send a message, I would save 7 messages of the same conten...
I am working on a messaging application using Spring websockets(STOMP as a sub-protocol) and Sockjs.  I should provide support to send files in messages.  According to this ticket, sockjs does not support binary data, but STOMP does.  I know that we...
I'm using Vert.x and SockJS to transfer data encapsulated in messages. Is there a specification how big the SockJS/Websocket messages can be?...
I'd like to broadcast messages to all clients connected to my sockjs-node server.  Right now I have the following code  var clients = {}; var echo = sockjs.createServer(); echo.on('connection', function(conn) {     clients[conn.id] = conn...
I am trying to manage a javascript frontend application with yeoman. I don't have any yeoman experience. While running grunt command I am getting this error:  Running "jshint:all" (jshint) task Linting app/scripts/services/stopmOverSockJs...
Does SockJS emulate websockets even on a browser that supports websocket or not?   I'm trying to use websocket and RabbitMQ to send and receive messages on the web. RabbitMQ provides a rabbitmq-web-stomp plugin which uses Sockjs to bridge the web...
Is there a way to use AMQP to communicate with RabbitMQ over WebSockets?  I guess the real question is if there is support for this in RabbitMQ and if there are any client side libraries for the browser? Can not really wrap my mind around it and goog...
var sock = new SockJS(url, {'protocols_whitelist': ['xhr-polling']});  sock.onopen = function() {      var msg = {msg: "hello"};      sock.send(msg); // 1. example      sock.send(JSON.stringify(msg)); // 2.example   };   1. e...
I installed React project on another computer and suddenly console in browser is filled with these:  sockjs-client:websocket unload +96ms browser.js:123 sockjs-client:main using url +0ms http://localhost:8080/sockjs-node browser.js:123 sockjs-client:...
I want to get the latest SockJS via Bower and save this into my bower.json file.  According to the GitHub sockjs-client page, the latest version is v1.0.3 (I see a tag for it).  However, I keep getting v0.3.4.  Here is the command I run:  > bower...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.