Chúng tôi không thể tìm thấy kết nối internet
Đang cố gắng kết nối lại
Có lỗi xảy ra!
Hãy kiên nhẫn trong khi chúng tôi khắc phục sự cố
Server-Sent Events (SSE) | NextJS & FastApi
In this video tutorial I am going to talk about the Server-Sent Events (I will be calling it server-side-events). Initially I will explain about the scenarios where we should use the Server Side Events and how they differ from standards http request and web-sockets.
In the second part, I will code the backend using the FastApi and frontend using the NextJS. We will create a queue to store the messages that we want to broadcast to frontend and then we will broadcast one by one to the frontend after establishing the connection.
#ServerSideEvents #FastAPI #nextjs14
Dịch Vào Lúc: 2025-06-05T06:25:38Z