sse
Dart 伺服器發送事件套件
- 星標
- 98
- 分支
- 26
- 最近推送(UTC)
- 2025年1月1日
- 專案狀態
- 已封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
[!IMPORTANT]
This repo has moved to https://github.com/dart-lang/tools/tree/main/pkgs/sse
This package provides support for bi-directional communication through Server Sent Events and corresponding POST requests.
This package is not intended to be a general purpose SSE package, but instead is
a bidirectional protocol for use when Websockets are unavailable. That is, both
the client and the server expose a sink and stream on which to send and
receive messages respectively.
Both the server and client have implicit assumptions on each other and therefore a client from this package must be paired with a server from this package.
使用的依賴
依賴清單 11 項
- async
^2.0.8 - collection
^1.0.0 - logging
^1.0.0 - pool
^1.5.0 - shelf
^1.1.0 - stream_channel
^2.0.0 - web
>=0.5.0 <2.0.0 - dart_flutter_team_lints開發依賴
^3.0.0 - shelf_static開發依賴
^1.0.0 - test開發依賴
^1.16.6 - webdriver開發依賴
^3.0.0
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗