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 getting this error:     uncaught type error: onrecieve is not a function(..) stomp.js    Can anyone help me and provide me complete setting using stockjs, stomp and jars?  My file:home.jsp  <%@ page language="java" contentType="te...
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 need an help, what I have to do is using Websocket with a client with "disabled websocket"  No problems while I try to use it without Oauth2 Authentication or with enabled websocket, I am in trouble when i try to do it with disabled ws &...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.