add Frame.MaxLength and implement it for currently needed frames

This commit is contained in:
Lucas Clemente
2016-04-20 15:06:10 +02:00
parent 93cea4f5de
commit 6be70bc29c
7 changed files with 70 additions and 1 deletions

View File

@@ -5,4 +5,5 @@ import "bytes"
// A Frame in QUIC
type Frame interface {
Write(b *bytes.Buffer) error
MaxLength() int
}