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

Method WriteHeader

internal/agent/idempotency_guard.go:170–175  ·  view source on GitHub ↗
(code int)

Source from the content-addressed store, hash-verified

168}
169
170func (c *capturingWriter) WriteHeader(code int) {
171 if c.statusCode == 0 {
172 c.statusCode = code
173 }
174 c.ResponseWriter.WriteHeader(code)
175}
176
177func (c *capturingWriter) Write(b []byte) (int, error) {
178 if c.statusCode == 0 {

Callers 11

HandleLogoutMethod · 0.45
HandleDeleteAgentMethod · 0.45
HandleUpdateAgentMethod · 0.45
HandleCreateAPIKeyMethod · 0.45
HandleDeleteAPIKeyMethod · 0.45
setMagicHeadersFunction · 0.45
writeOAuthErrorFunction · 0.45
handleOAuthRegisterMethod · 0.45
idempotencyGuardMethod · 0.45

Calls

no outgoing calls

Tested by 1