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

Method Hijack

wrap_generated.go:2240–2242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2238 return (*rwState)(w).doWrite(b)
2239}
2240func (w *rw40) Hijack() (net.Conn, *bufio.ReadWriter, error) {
2241 return (*rwState)(w).doHijack()
2242}
2243func (w *rw40) SetReadDeadline(deadline time.Time) error {
2244 return (*rwState)(w).doSetReadDeadline(deadline)
2245}

Callers

nothing calls this directly

Calls 1

doHijackMethod · 0.80

Tested by

no test coverage detected