How to write test for SSE endpoint?

This page summarizes the projects mentioned and recommended in the original post on /r/FastAPI

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • sse-starlette

    I'm using sse-starlette library to create endpoint that will inform my frontend about file download progress using SSE. My code looks something like this:

  • httpx

    A next generation HTTP client for Python. 🦋

    Unfortunately, httpx.TestClient is broken for sse.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts