5 unstable releases
0.3.2 | Feb 17, 2020 |
---|---|
0.3.1 | Dec 29, 2019 |
0.3.0 | Dec 26, 2019 |
0.2.0 | Dec 17, 2019 |
0.1.0 | Nov 16, 2019 |
#27 in #simpler
9KB
108 lines
DO NOT USE THIS LIBRARY. Use instead a combination of
Body::wrap_stream
and tokio::sync::broadcast
, and
either build the events manually or use uhttp_sse
.
hyper-usse
An SSE (server sent events) server for use with Hyper, simpler than hyper-sse.
See examples for some examples of how to use this library.
License
Dual-licensed under MIT License and Apache 2.0.
lib.rs
:
A library for an SSE (server sent events) server, for use with Hyper.
Start a server with Server
, and use EventBuilder
to generate events to send with Server
.
See examples for usage examples.
Dependencies
~9.5MB
~158K SLoC