MCPcopy Create free account
hub / github.com/felixge/httpsnoop / Flush

Method Flush

wrap_test.go:26–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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
29func TestWrap_preservesWriteHookForWriteString(t *testing.T) {

Calls

no outgoing calls

Tested by

no test coverage detected