remove GetOrOpenStream from Session interface

This commit is contained in:
Marten Seemann
2017-02-17 13:58:47 +07:00
parent a96211f724
commit 532d3caed1
3 changed files with 5 additions and 4 deletions

View File

@@ -3,7 +3,6 @@ package quic
import (
"net"
"github.com/lucas-clemente/quic-go/protocol"
"github.com/lucas-clemente/quic-go/utils"
)
@@ -20,6 +19,4 @@ type Session interface {
// OpenStreamSync() (utils.Stream, error)
RemoteAddr() net.Addr
Close(error) error
// TODO: remove this
GetOrOpenStream(protocol.StreamID) (utils.Stream, error)
}