MCPcopy Index your code
hub / github.com/simstudioai/sim / encodeSSEComment

Function encodeSSEComment

apps/sim/lib/copilot/request/session/sse.ts:9–11  ·  view source on GitHub ↗
(comment: string)

Source from the content-addressed store, hash-verified

7}
8
9export function encodeSSEComment(comment: string): Uint8Array {
10 return encoder.encode(`: ${comment}\n\n`)
11}
12
13export const SSE_RESPONSE_HEADERS = {
14 ...SSE_HEADERS,

Callers 2

startKeepaliveMethod · 0.90
enqueueCommentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected