MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / Render

Method Render

common/custom-event.go:70–73  ·  view source on GitHub ↗
(w http.ResponseWriter)

Source from the content-addressed store, hash-verified

68}
69
70func (r CustomEvent) Render(w http.ResponseWriter) error {
71 r.WriteContentType(w)
72 return encode(w, r)
73}
74
75func (r CustomEvent) WriteContentType(w http.ResponseWriter) {
76 header := w.Header()

Callers 9

aliStreamHandlerFunction · 0.80
xunfeiStreamHandlerFunction · 0.80
palmStreamHandlerFunction · 0.80
zhipuStreamHandlerFunction · 0.80
cohereStreamHandlerFunction · 0.80
ClaudeDataFunction · 0.80
ClaudeChunkDataFunction · 0.80
ResponseChunkDataFunction · 0.80
StringDataFunction · 0.80

Calls 2

WriteContentTypeMethod · 0.95
encodeFunction · 0.85

Tested by

no test coverage detected