MCPcopy Index your code
hub / github.com/felixge/httpsnoop / WriteHeader

Method WriteHeader

wrap_test.go:25–25  ·  view source on GitHub ↗
(code int)

Source from the content-addressed store, hash-verified

23
24func (w *flushErrorResponseWriter) Write(p []byte) (int, error) { return len(p), nil }
25func (w *flushErrorResponseWriter) WriteHeader(code int) {}
26func (w *flushErrorResponseWriter) Flush() {}
27func (w *flushErrorResponseWriter) FlushError() error { return w.err }
28

Callers 1

TestWrap_integrationFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected