implement a h2quic client that can send H2 requests

This commit is contained in:
Marten Seemann
2016-12-16 23:15:54 +07:00
parent b9f9c2e429
commit c42262c2b3
3 changed files with 275 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package protocol
// EncryptionLevel is the encryption level
// Default value is Unencrypted
type EncryptionLevel int
const (
// Unencrypted is not encrypted
Unencrypted EncryptionLevel = iota
// EncryptionSecure is encrypted, but not forward secure
EncryptionSecure
// EncryptionForwardSecure is forward secure
EncryptionForwardSecure
)