Category "websocket"

How can I refresh another page in Django?

Is there any way to refresh another page by clicking a button on the current page? (any way for the server to send a packet that makes every browser on a certai

Alert inside websocket open event

I have this code that alert("open") is displayed ok. var webSocket = new WebSocket("ws://localhost:8080/WebSocketServerExample/websocketendpoint"); webSocke

How do I setup websockets on apache using this tutorial, with just built in apache modules?

I'm trying to use these instructions to setup a websockets connection on my localhost apache webserver and it's not working. I have the mod_proxy_wstunnel and m

Why is my `flutter_webrtc` peer connection always failing?

I'm stuck in establishing a WebRTC connection. I've successfully established WebRTC connections on several web applications using this signaling flow but I'm st

Socket.io and Redis Adapter same rooms and different servers

We are creating a scalable real-time collaborative text editor. The client (frontend) code is written in React.js, and the server (backend) code is Websockets (

Using web sockets with C++ and set the object protocol

I'm a complete beginner to all things HTTP and Websockets. I am trying to figure out how to setup a websocket for this specific example: https://docs.automata.t

running websocket in google sheet without using HTML code

I find this test for Binance websocket in app script the code in this URL: running websocket in google sheet I want to remove code HTML and run websocket withou

Is there a concept of reverse controller for WebSockets?

I am implementing a WebSocket server in a small microservice and I wonder if conceptually there is a things such as a Reverse Controller? I am using Spring Web

How can i configure Workerman works through wss with nginx?

I just started to learn websockets with "Workerman" library on my nginx server, and i ran into a problem. I tried some examples, so I think I almost made it. I

How to avoid blocking the asyncio event loop with looping functions

I'm using FastAPI with WebSockets to "push" SVGs to the client. The problem is: If iterations run continuously, they block the async event loop and the socket t

How to use ActionCable with redis server hosted on redislabs.com?

I am trying to set up a rails app with actioncable, where it's using a redis database hosted on app.redislabs.com. I am having trouble getting the connection to

Using Websocket Channel in React

I am working on a project where I have to make an api call to a websocket, and display certain information based on that call. As you can see I have used the su

OCPP python server issue

I successfully tested the OCPP server by mobility house integrated with aiohttp API in local network. But now I am deploying the websocket server integrated wit

how to create a websocket client in mule

I'm trying to create a websocket client in mule which connect to external server websocket. Also I want to send the headers and body to external websocket at th

Websocket with special characters

I am using websocket with client nodejs and server golang (net library) via tcp. I am read data sent from client but many special chars. Some one can help me ab

Unable to access state - React.js working with Websocket

This is my first post here, so nice to meet you all. I have recently started my adventure with React, so my question probably will not be very challenging (it c

How to maintain a Websocket connection for my Angular(13.0.4) application across pages? I need to load the websocket url into service not at the start

So this is my web-socket.service.ts where I send the url information to the websocket in order to establish the connection: import { Injectable } from '@angular

How to establish a connection between peers based on COTURN server and using WebSockets only, without WebRTC

I installed and configured a COTURN server in an EC2 instance. Then, I did some preliminary tests to check its operation using Trickle ICE. Everything works fin

I got an error with websocket and json (Discord Gateway)

when i finished the code there was MULTIPLE ERRORS and i was personally confused. import os import websocket #pip install websocket-client import json import ti

How do i connect to websocket URL from website?

i'm trying to get the update values from website, i manage to connect but i cant get the values, i dont know if i'm doing anything wrong. this is what i'm tryin