[][src]Function async_sse::encode

pub fn encode<W: AsyncWrite + Unpin>(writer: W) -> Encoder<W>

Encode a new SSE connection.