forked from quic-go/quic-go
move the transport parameters from the handshake to the wire package
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/lucas-clemente/quic-go/internal/protocol"
|
||||
"github.com/lucas-clemente/quic-go/internal/wire"
|
||||
"github.com/marten-seemann/qtls"
|
||||
)
|
||||
|
||||
@@ -61,7 +62,7 @@ type tlsExtensionHandler interface {
|
||||
}
|
||||
|
||||
type handshakeRunner interface {
|
||||
OnReceivedParams(*TransportParameters)
|
||||
OnReceivedParams(*wire.TransportParameters)
|
||||
OnHandshakeComplete()
|
||||
OnError(error)
|
||||
DropKeys(protocol.EncryptionLevel)
|
||||
|
||||
Reference in New Issue
Block a user