Category "websocket"

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

AWS API Gateway Websocket UnknownError

We are experiencing an error when doing a SDK postToConnection() call as a promise, full error details given below. Other calls in the same function with a dif

simultaneous (async) work - getting msg receiving and placing order/selling in auto bot w websocket

''' I would like to get async working for purchasing ordering while continuously getting realtime price update by websocket receving. However, when I execute th

python websocket pub-sub with re-publish/broadcast

I would like to set-up a server that can subscribe to an external stream over a websocket (ws_ext) and then republish that data (after curating) to internal cli

Traefik V2 docker provider path /ws routing to external websocket server

Stack: serverX docker traefik x-site.com redirect :80->:443 https://x-site.com/* -> x-site docker container wss://x-site.com/ws proxy -> ws://external.

Django channels rest framework don't return data of subscription in production environment (gunicorn/daphne/nginx)

Hi everyone I deployed django with channels via daphne for websocket and gunicorn for normal request http with reverse proxy nginx, I have a problem that has no