Skip to main content

ndjson_line

Function ndjson_line 

Source
pub(super) fn ndjson_line(
    event: &ChatbotChatStreamEvent,
) -> ChatbotResult<Bytes>
Expand description

Frames one event as the NDJSON line the client reads: the wire format’s single boundary.