Skip to content

Commit

Permalink
http3: add a ConnectionState method to the StreamCreator interface (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Oct 22, 2022
1 parent 85fbfb9 commit e496120
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http3/body.go
Expand Up @@ -26,6 +26,7 @@ type StreamCreator interface {
OpenUniStreamSync(context.Context) (quic.SendStream, error)
LocalAddr() net.Addr
RemoteAddr() net.Addr
ConnectionState() quic.ConnectionState
}

var _ StreamCreator = quic.Connection(nil)
Expand Down

0 comments on commit e496120

Please sign in to comment.