E
E
Emil Revencu2017-12-17 11:02:07
Flask
Emil Revencu, 2017-12-17 11:02:07

How to pull websocket server from AJAX request?

I am making an AJAX request.
Pre-opened a Websocket connection (on the server running a websocket server in parallel)
On the server side, this AJAX, when executed, must periodically send some data to the Browser. Decided to send them via websocket. But how to interact with websocket server from AJAX code to send this periodic data?
Backend Python Flask

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question