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

Method Header

wrap_generated.go:1354–1356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1352
1353func (w *rw2) Unwrap() http.ResponseWriter { return w.w }
1354func (w *rw2) Header() http.Header {
1355 return (*rwState)(w).doHeader()
1356}
1357func (w *rw2) WriteHeader(code int) {
1358 (*rwState)(w).doWriteHeader(code)
1359}

Callers

nothing calls this directly

Calls 1

doHeaderMethod · 0.80

Tested by

no test coverage detected