Files
quic-go/utils/stream.go
2017-01-09 09:49:43 +07:00

17 lines
253 B
Go

package utils
import (
"io"
"github.com/lucas-clemente/quic-go/protocol"
)
// Stream is the interface for QUIC streams
type Stream interface {
io.Reader
io.Writer
io.Closer
StreamID() protocol.StreamID
CloseRemote(offset protocol.ByteCount)
}