forked from quic-go/quic-go
implement a h2quic client that can send H2 requests
This commit is contained in:
14
protocol/encryption_level.go
Normal file
14
protocol/encryption_level.go
Normal 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
|
||||
)
|
||||
Reference in New Issue
Block a user