Server-Sent Events (SSE) | NextJS & FastApi

Tác giả: Describly
Ngày xuất bản: 2024-02-18T00:00:00
Length: 36:33

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

Yêu cầu dịch (Một bản dịch khoảng 5 phút)

Phiên bản 3 (ổn định)

Tối ưu hóa cho một người nói. Phù hợp cho video chia sẻ kiến thức hoặc giảng dạy.

Video Đề Xuất