paint-brush
How to Use Server-Sent Events (SSE) With FastAPIby@bobbyiliev
8,554 reads
8,554 reads

How to Use Server-Sent Events (SSE) With FastAPI

by Bobby Iliev6mFebruary 22nd, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

FastAPI is a Python framework that makes it easy to build APIs. We will use FastAPI to create a simple SSE server that will send a message every second. SSE is a way to send data to the browser without reloading the page. This allows you to use streaming data and build real-time applications that can be used in a variety of scenarios. In order to follow this tutorial, you will need to have a Python and pip installed on your machine:https://www.python.org/downloads/fastapi/pip install "fastapi[all]"

Company Mentioned

Mention Thumbnail
featured image - How to Use Server-Sent Events (SSE) With FastAPI
Bobby Iliev HackerNoon profile picture
Bobby Iliev

Bobby Iliev

@bobbyiliev

I am a DevOps Engineer with a demonstrated history of working in the internet industry.

About @bobbyiliev
LEARN MORE ABOUT @BOBBYILIEV'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Bobby Iliev HackerNoon profile picture
Bobby Iliev@bobbyiliev
I am a DevOps Engineer with a demonstrated history of working in the internet industry.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite