Skip to content

Commit

Permalink
add a ConnectionState method to the Session
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Oct 23, 2022
1 parent c4133e6 commit 0f5d916
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions session.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,3 +350,7 @@ func (s *Session) Close() error {
<-s.ctx.Done()
return err
}

func (c *Session) ConnectionState() quic.ConnectionState {
return c.qconn.ConnectionState()
}

0 comments on commit 0f5d916

Please sign in to comment.