MCPcopy Create free account
hub / github.com/bcspragu/logseq-sync / WriteHeader

Method WriteHeader

cmd/server/main.go:50–53  ·  view source on GitHub ↗
(status int)

Source from the content-addressed store, hash-verified

48}
49
50func (w *ResponseWriter) WriteHeader(status int) {
51 w.StatusCode = status
52 w.ResponseWriter.WriteHeader(status)
53}
54
55func (w *ResponseWriter) Write(p []byte) (int, error) {
56 w.Buffer.Write(p)

Callers 2

respondMethod · 0.80
respondMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected