SSE Stream
A SSE decoder for Http body
# use SseStream;
# use Full;
# use Bytes;
# use StreamExt;
const SSE_BODY: &str =
r#"
retry: 1000
event: userconnect
data: {"username": "bobby", "time": "02:33:48"}
data: Here's a system message of some kind that will get used
data: to accomplish some task.
"#;
let body = from;
let mut sse_body = new;
async ;