Looks like it's easy to add custom HTTP headers to your websocket client with any HTTP header client which supports this, but I can't find how to do it with the JSON API.   Yet, it seems that there should be support these headers in the spe...
I'm working with socket.io and node.js and until now it seems pretty good, but I don't know how to send a message from the server to an specific client, something like this:  client.send(message, receiverSessionId)   But neither the .send()...
We are developing a web application that will run only on modern browsers (IE10+) for different reasons.  One of the features we implemented is Socket.io 1.x. However, by default the Socket.io client tries to support older browsers, so it starts a...
I am playing around with HTML5 WebSockets. I was wondering, how do I close the connection gracefully? Like, what happens if user refreshes the page, or just closes the browser?  There is a weird behavior when a user just refresh the page without ca...
I keep reading about ping/pong messages in websockets to keep the connection alive, but I'm not sure what they are.  Is it a distinct frame type? (I don't see any methods on a javascript WebSocket object in chrome related to ping-pong).  Or...
I just read this post, and I do understand what the difference is. But still in my head I have the question. Can/Should I use it in the same App/Website? Say I want the AngularJs to fetch content and update my page, connecting to a REST api and all o...
My error shows up in the console of my browser:   "WebSocket connection to 'ws://localhost:32768/DspClusterWebServices/myHandler' failed: Unexpected response code: 200"  I am using Spring Websockets 4.1.5 and Tomcat 8.0.18. My WebSock...
I'm using JavaScript and the Union platform How would I go about diagnosing this problem? Many thanks....
I'm trying to upload large files (at least 500MB, preferably up to a few GB) using the WebSocket API. The problem is that I can't figure out how to write "send this slice of the file, release the resources used then repeat". I was hop...
I have a node.js app, that uses socket.IO. It works fine on http, but when trying to connect to the socket through https - nothing happens. Here's some part of the code:    var fs = require('fs');    var ioHttp = require('socket.io...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.