rename stream.Cancel to stream.CloseForShutdown

This commit is contained in:
Marten Seemann
2017-12-13 16:32:32 +07:00
parent d28f09837e
commit 8c5741ae79
8 changed files with 35 additions and 34 deletions

View File

@@ -13,7 +13,7 @@ type cryptoStreamI interface {
io.Writer
HandleStreamFrame(*wire.StreamFrame) error
PopStreamFrame(protocol.ByteCount) *wire.StreamFrame
Cancel(error)
CloseForShutdown(error)
HasDataForWriting() bool
SetReadOffset(protocol.ByteCount)
// methods needed for flow control