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 ↗