Category "websocket"

How to implement sending a heartbeat message using a boost beast websocket client

I need to implement sending a heartbeat message to a third party server with regular intervals. The server uses these heartbeat messages to determine if that th

How to fix 400 error bad request in socket io?

I have a frontend application(VUE JS) I have a backend (Nest JS) Vue JS app get data from backend via websockets using vue-socket.io-extended library When Vue J

CF2021 Getting Started with WebSockets (cfwebsocket)

I am just getting started with cfwebsockets and I am having a bit of trouble. What I found from online, is that since this is public-facing application, it is b

RuntimeError - Unable to find subscription with identifier: when ios app try to send a message

I am using WebSocket for comments on a post. ios user subscribe to the comment_channel and I got confirmation that the user successfully subscribed to comment_c

NGINX not loadbalancing for WS connections

I have two local backend applications running on : 127.0.0.1:4444 127.0.0.1:4445 Both of which support websocket connections (totally identical) I have set an n

How does ktor websocket flow api works?

I'm using ktor for server side development with websockets. Documentations shows us this example of using incoming channel: for (frame in incoming.mapNotNull {

Cypress web sockets error: 'Sec-WebSocket-Accept' header is missing

I am trying to test a VueJs application with Cypress. Everything works well except the websocket connection that fails with the message: Error during WebSocket

FastAPI: reject a WebSocket connection with HTTP response

In a FastAPI based Web app, I have a WebSocket endpoint that should allow connections only if some conditions are met, otherwise it should return an HTTP 404 re

How to get discord message content with python websocket

from discord.ext import commands from threading import Thread client = commands.Bot(command_prefix="!") @client.event async def on_message(message): prin

How can I send data via Websocket from a VSCode extension

I would like to send data via Websocket from an VSCode extension. Is there a builtin websocket facility or should I import the package "ws" or else?

how to send message to specific one user id using ratchet Laravel?

chat.php how to send message to specific user id? public function onMessage(ConnectionInterface $from, $msg) { $numRecv = count($this->clients) - 1;

Stream updates from AWS glue catalog to WebSocket React

I'd like to know if there's some way to stream data updates from an AWS Glue catalog to a React app by using a WebSocket or API Gateway. thanks, David

websocket client close failed when switch network/ offline

i'd like to ask some question about how to close a websocket client when offline/switched network. when i try to close the socket for the 2 case in chrome, afte

change booleans to true and false with if using websocket and vue

I am new to websockets and for my project I'm using websocket what I'm trying to achieve is having two taps and when a user clicks the button Start the div with

"CANCEL read_loop, Task exception was never retrieved"{‘e’: ‘error’, ‘m’: ‘Queue overflow. Message not filled’}

I've finally got my code working which does the following: first it gets the historical data from currently 297 symbols (only the last 20 data intervals). After

Websockets connect fail after a while in execute

Excuse me, this is my IOT program, through bluetooth to receive sensor data, and then transfer the data, use websockets to transmit to the web page, but after a

websocket conecttion closed (on mobile browsers) when screen looks

I have a connection to WebSocket which sends me data every second, but when I lock the screen of my phone, after 5 min (approximately), the WebSocket connection

Is WebSocket compatible with HTTP/3

The upcoming HTTP/3 standard is no longer based on TCP, but on the QUIC protocol. WebSocket is based on TCP and is initiated as HTTP update. Is a WebSocket con

Utilizing the Websocket Data from Android cellphone while running

Using SensorServer, I am establishing a connection between an android phone and Python and utilizing the data sent. The accelerometer of the Android device is u

How to pass a dynamic port to the Websockets-gateway in NestJS?

I wanted to dynamically set the Websockets-gateway port from config in NestJS. Below is my websockets-gateway code. import { WebSocketGateway } from '@nestjs/we