Documentation
¶
Overview ¶
Package ownedstream retains a borrowed stream until reads and close actually return. It is used by both sides of one outbound HTTP transport attempt.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Body ¶
type Body struct {
// contains filtered or unexported fields
}
func (*Body) Close ¶
Close interrupts a read using the underlying io.ReadCloser contract, then waits for that read's actual exit. It never holds readMu while closing source.
Click to show internal directories.
Click to hide internal directories.