Beignet API reference
    Preparing search index...

    Function createServerSentEventResponse

    • Create a portable Fetch Response that safely manages a Server-Sent Events stream.

      The helper owns SSE framing, JSON encoding, heartbeats, abort handling, bounded unread buffering, maximum lifetime, and cleanup. Authentication, replay, authorization, connection limits, and application reconciliation remain the caller's responsibility.

      Parameters

      Returns Response