Skip to content

Commit e496120

Browse files
http3: add a ConnectionState method to the StreamCreator interface (quic-go#3600)
1 parent 85fbfb9 commit e496120

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

http3/body.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ type StreamCreator interface {
2626
OpenUniStreamSync(context.Context) (quic.SendStream, error)
2727
LocalAddr() net.Addr
2828
RemoteAddr() net.Addr
29+
ConnectionState() quic.ConnectionState
2930
}
3031

3132
var _ StreamCreator = quic.Connection(nil)

0 commit comments

Comments
 (0)