MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / writeSse

Function writeSse

tools/model-gateway/server.mjs:735–738  ·  view source on GitHub ↗
(res, event, data)

Source from the content-addressed store, hash-verified

733}
734
735function writeSse(res, event, data) {
736 res.write(`event: ${event}\n`)
737 res.write(`data: ${JSON.stringify(data)}\n\n`)
738}
739
740// ── Anthropic passthrough ──────────────────────────────────────────────
741

Callers 2

handleStreamFunction · 0.70
handleGeminiStreamFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected