fusion44 / fusion44/blitz_api

use websockets instead of sse

Open
#252 0 comments 0 reactions 1 assignee Claimed by @fusion44 View on GitHub
enhancement
Dominant language
Python
Stars
25
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Advantages:
- better integration with FastAPI https://fastapi.tiangolo.com/advanced/websockets/
- Authentication would be easier without workarounds
- no limitation on connection when not on HTTP/2 (see https://developer.mozilla.org/en-US/docs/Web/API/EventSource)
- Also possible to send messages directly (e.g. when forcing an update, getting other messages)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.