MCPcopy
hub / github.com/moby/moby / Read

Method Read

client/hijack.go:114–116  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

112}
113
114func (c *hijackedConn) Read(b []byte) (int, error) {
115 return c.r.Read(b)
116}
117
118// hijackedConnCloseWriter is a hijackedConn which additionally implements
119// CloseWrite(). It is returned by setupHijackConn in the case that a) there

Callers 5

TestTLSCloseWriterFunction · 0.45
testProxyAtFunction · 0.45
TestUDPWriteErrorFunction · 0.45
replyLoopMethod · 0.45
StdCopyFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestTLSCloseWriterFunction · 0.36
testProxyAtFunction · 0.36
TestUDPWriteErrorFunction · 0.36