forked from quic-go/quic-go
use a callback to signal completion of the handshake
This commit is contained in:
@@ -30,6 +30,7 @@ type tlsExtensionHandler interface {
|
||||
|
||||
type handshakeRunner interface {
|
||||
OnReceivedParams([]byte)
|
||||
OnHandshakeComplete()
|
||||
OnError(error)
|
||||
DropKeys(protocol.EncryptionLevel)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user