async_sse

Function decode

Source
pub fn decode<R>(reader: R) -> Decoder<R>
where R: AsyncBufRead + Unpin,
Expand description

Decode a new incoming SSE connection.