MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / WriteHeader

Method WriteHeader

internal/server/server.go:1301–1304  ·  view source on GitHub ↗
(code int)

Source from the content-addressed store, hash-verified

1299}
1300
1301func (sw *statusWriter) WriteHeader(code int) {
1302 sw.status = code
1303 sw.ResponseWriter.WriteHeader(code)
1304}
1305
1306func (sw *statusWriter) Write(b []byte) (int, error) {
1307 if sw.status >= 500 {

Callers 12

writeJSONFunction · 0.80
apiResetTokenMethod · 0.80
writeNodeJSONFunction · 0.80
HandleWebhookMethod · 0.80
writeJSONFunction · 0.80
writeJSONFunction · 0.80
writeJSONFunction · 0.80
bridgeSSEFunction · 0.80
handleSubMethod · 0.80
newMockServerFunction · 0.80

Calls

no outgoing calls

Tested by 3

newMockServerFunction · 0.64