Skip to main content

Module sse

Module sse 

Source
Expand description

W3C Server-Sent Events client.

The frame parser is decoupled from the body transport: bytes come in via frame::SseFrameParser’s HttpCoroutine::resume, dispatched events come out as frame::SseFrame.

Modules§

frame
I/O-free coroutine decoding a W3C Server-Sent Events stream. Line-oriented and infallible: the parser never terminates and the outer driver stops when the body stream closes.