forked from quic-go/quic-go
add a callback to client that is called after the version is negotiated
This commit is contained in:
@@ -10,7 +10,7 @@ func main() {
|
||||
|
||||
utils.SetLogLevel(utils.LogLevelDebug)
|
||||
|
||||
client, err := quic.NewClient(addr)
|
||||
client, err := quic.NewClient(addr, func() error { return nil })
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user