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 trying to figure out a way for my SockJS clients to reconnect to the server if it should go down.  I currently have this:      new_conn = function() {             socket = new SockJS(protocol + serverDomain + '/echo', null, {...
I am writing a SPA using create-react-app and am using an expressjs server as my backend. For development I run my frontend test server on port 3000 and my backend expressjs test server on 3003.   I make many API calls client side using Axios so for...
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?...
On the server an API only path has been set under /api.    When calling this path on the client-side, react-router takes over and responds with:  browser.js:49 Warning: [react-router] Location "/api/my_request" did not match any routes   How...
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...
Sockjs and socket.io are both JavaScript libraries for node.js that automatically choose which transport protocol can be used on top of HTTP.  I know that sockjs also provides a direct WebSocket access, so a sockjs server can be used with the associa...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.