Actix SSE
SSE implementation for Actix, extracted from actix-web-lab with minimal dependencies.
use ;
async
Migrating from actix-web-lab
This should mostly be a drop-in replacement for the sse module, but we did remove a few convenience methods.
Data::from_json: Serialize in the caller and useData::newData::set_id: UseData::idSse::from_receiver: UseSse::from_stream(tokio_stream::wrappers::ReceiverStream::new(rx))