MCPcopy Index your code
hub / github.com/SenseUnit/dumbproxy / wrapH2

Function wrapH2

handler/adapter.go:13–18  ·  view source on GitHub ↗
(r io.ReadCloser, w io.Writer)

Source from the content-addressed store, hash-verified

11}
12
13func wrapH2(r io.ReadCloser, w io.Writer) wrappedH2 {
14 return wrappedH2{
15 r: r,
16 w: w,
17 }
18}
19
20func (w wrappedH2) Read(p []byte) (n int, err error) {
21 return w.r.Read(p)

Callers 1

HandleTunnelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected