Python Flask with Server Sent Events - An alternative to AJAX and WebSockets

preview_player
Показать описание
Tutorial on how to create Server Sent Events (SSE) using Python and Flask. It is an alternative to AJAX and WebSockets.

Рекомендации по теме
Комментарии
Автор

Thank you very much, I was just about to learn web sockets but this just fit my need

kelvinclark
Автор

thanx, it was very helpful!! but i wanna use nginx then how could I set Nginx conf?? please give me some tips. thank you

TheHotelbread
Автор

Thanks for the video! Nice explanation!

jb-videos
Автор

Thank you very much, very useful with me.

tudonghoah
Автор

I am facing a weird problem, I am using a react frontend and flask backend, the frontend is able to connect to the event-stream data, but the eventListener is not listening to data while the server is sending it, as soon as I stop the server, the eventListener prints out all the data received till that point of time. Any idea why?

CREATIVE
Автор

Thank you very much. What do you suggest to use if I want to take input from the user back to the server?

nadeenalamoudi
Автор

Hey, I have created a web app using flask and rendering a column of dataframe, as the data of that column keeps on changing, I refresh the webpage every few seconds to get latest data. I think I have to try this.

pratikshinde
Автор

i cant understand how listen endpoint gets called for the first time we visit '/' endpoint?

asdfasdf-rbeq
Автор

I am facing a problem using the data from an sse api is there any solution?

sanjeethnt
Автор

Very interesting that is all new to me. Thanks

NomadJoe
Автор

how can we use this method to send event notification to a logged in user ?

prashantrana
Автор

Is it possible to send SEE to a specific client?

amolkale
Автор

Please make more videos on flask socketio

abdulkabir
Автор

why this complex example like reading a .txt file and other things? you can also explain it simply by set a timer. you have made a simple thing more complex.

coolsatisfaction
visit shbcf.ru