Setu-TS
    Preparing search index...

    Function encodeSseComplete

    • Encode a complete SSE event with the mandatory empty data: field.

      Native EventSource never fires the listener without a data: field, so the empty value is required by the protocol.

      Returns Uint8Array

      The encoded complete event bytes