forked from quic-go/quic-go
document the range of valid values for error codes
This commit is contained in:
@@ -27,6 +27,7 @@ type Token struct {
|
||||
}
|
||||
|
||||
// An ErrorCode is an application-defined error code.
|
||||
// Valid values range between 0 and MAX_UINT62.
|
||||
type ErrorCode = protocol.ApplicationErrorCode
|
||||
|
||||
// Stream is the interface implemented by QUIC streams
|
||||
|
||||
Reference in New Issue
Block a user