MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / writeHeaderLine

Function writeHeaderLine

internal/outbound/forward.go:262–270  ·  view source on GitHub ↗
(buf *strings.Builder, name, value string)

Source from the content-addressed store, hash-verified

260}
261
262func writeHeaderLine(buf *strings.Builder, name, value string) {
263 if value == "" {
264 return
265 }
266 buf.WriteString(name)
267 buf.WriteString(": ")
268 buf.WriteString(value)
269 buf.WriteString("\r\n")
270}
271
272func writeHTMLHeaderLine(buf *strings.Builder, name, value string) {
273 if value == "" {

Callers 1

BuildForwardBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected