add stream.StreamID()

This commit is contained in:
Lucas Clemente
2016-05-14 13:35:43 +02:00
parent 967a5c401c
commit 9f63cdbd91
5 changed files with 17 additions and 0 deletions

View File

@@ -213,3 +213,7 @@ func (s *stream) RegisterError(err error) {
func (s *stream) finishedReading() bool {
return atomic.LoadInt32(&s.eof) != 0
}
func (s *stream) StreamID() protocol.StreamID {
return s.streamID
}