forked from quic-go/quic-go
convert Connection interface to Conn struct (#5195)
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/quic-go/quic-go/internal/wire"
|
||||
)
|
||||
|
||||
// StreamLimitReachedError is returned from Connection.OpenStream and Connection.OpenUniStream
|
||||
// StreamLimitReachedError is returned from Conn.OpenStream and Conn.OpenUniStream
|
||||
// when it is not possible to open a new stream because the number of opens streams reached
|
||||
// the peer's stream limit.
|
||||
type StreamLimitReachedError struct{}
|
||||
|
||||
Reference in New Issue
Block a user