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

Method Header

wrap_generated.go:1337–1339  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1335
1336func (w *rw1) Unwrap() http.ResponseWriter { return w.w }
1337func (w *rw1) Header() http.Header {
1338 return (*rwState)(w).doHeader()
1339}
1340func (w *rw1) WriteHeader(code int) {
1341 (*rwState)(w).doWriteHeader(code)
1342}

Callers

nothing calls this directly

Calls 1

doHeaderMethod · 0.80

Tested by

no test coverage detected