MCPcopy
hub / github.com/bettercap/bettercap / WriteHeader

Method WriteHeader

modules/http_proxy/http_proxy_base.go:352–354  ·  view source on GitHub ↗
(code int)

Source from the content-addressed store, hash-verified

350}
351
352func (dumb dumbResponseWriter) WriteHeader(code int) {
353 panic("WriteHeader() should not be called on this ResponseWriter")
354}
355
356func (dumb dumbResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) {
357 return dumb, bufio.NewReadWriter(bufio.NewReader(dumb), bufio.NewWriter(dumb)), nil

Callers 3

setAuthFailedMethod · 0.80
corsRouteMethod · 0.80

Calls

no outgoing calls

Tested by 1