Skip to content
This repository was archived by the owner on Jun 12, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

21 Commits

Repository files navigation

eventsource-stream

A basic building block for building an Eventsource from a Stream of bytes array like objects. To learn more about Server Sent Events (SSE) take a look at the MDN docs

Example

letmut stream = reqwest::Client::new().get("http://localhost:7020/notifications").send().await?
.bytes_stream().eventsource();whileletSome(thing) = stream.next().await{println!("{:?}", thing);}

License: MIT OR Apache-2.0

About

A basic building block for building an Eventsource from a Stream of bytes array like objects

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages