Skip to main content

All Questions

1 vote
0 answers
21 views

WebSocket connection closing unexpectedly [duplicate]

To get around the POST request timeout errors, I've implemented a websocket variant of my code (below) that would send a task client side and awaits a response from my server side (whether the task ...
Kenneth Chen's user avatar
0 votes
0 answers
114 views

Mixing Http and Websockets in Python Quart

So my application needed to employ both a RESTful backend and a websockets backend. So I switched my API from Flask to Quart. However, even when following the docs to word the issue remains. @app....
Mudassir's user avatar
  • 806
0 votes
1 answer
1k views

Python/Quart: how to send while awaiting a response?

Using Python 3.9 and Quart 0.15.1, I'm trying to create a websocket route that will listen on a websocket for incoming request data, parse it, and send outbound response data to a client, over and ...
cd1a4e52622a6cbb0b86e635829dc2's user avatar
1 vote
0 answers
623 views

Multiplayer game in Python with websockets: Wait for multiple input

I'm developing a text game in Python implementing the networking part using Quart and websockets. I'm done with the single player part which is a simple single request- single response thing and next ...
Nick M's user avatar
  • 57
0 votes
1 answer
522 views

Safely awaiting two event sources in asyncio/Quart

Quart is a Python web framework which re-implements the Flask API on top of the asyncio coroutine system of Python. In my particular case, I have a Quart websocket endpoint which is supposed to have ...
fameman's user avatar
  • 3,899
1 vote
1 answer
1k views

Bidirectional communiation with websockets in Quart

I want to be able to use a WebSocket in Quart to receive any messages that are sent, and send any messages that I may need to send. There's no guarantee that messages will alternate between sending ...
jarhill0's user avatar
  • 1,629
1 vote
0 answers
583 views

How to authenticate Quart websockets?

From a medium article by the creator of Quart: https://medium.com/@pgjones/websockets-in-quart-f2067788d1ee : Authentication The ability to control the acceptance is most useful when ...
jsstuball's user avatar
  • 4,971
2 votes
1 answer
1k views

Autobahn websocket client in Quart (async Flask) application

Good evening everyone. I'm not quite new to this place but finally decided to register and ask for a help. I develop a web application using Quart framework (asynchronous Flask). And now as ...
Andrew K's user avatar