fastapi-limiter icon indicating copy to clipboard operation
fastapi-limiter copied to clipboard

HTTP SSE support?

Open benglewis opened this issue 1 year ago • 1 comments

Hi 👋 ,

This is more of a question rather than a request/bug.

Can the existing WebSocketRateLimiter functionality be used with HTTP Server-Side Events (SSE)?

Specifically, I am using SSE Starlette (https://github.com/sysid/sse-starlette) inside my FastAPI application to use HTTP SSE instead of WebSockets (it offers various advantages, from better browser support, to better tooling support since it is truly HTTP-based rather than WebSockets).

Thank you in advance for your help!

benglewis avatar May 20 '24 06:05 benglewis

@long2ice I'd really appreciate some kind of input here 🙏 This tool is really cool, and I'd like to know if I need to roll some kind of other solution for this problem

benglewis avatar May 22 '24 09:05 benglewis