3 Commits
Author SHA1 Message Date
Eric RosenbergandFabian Fett 6226da4bb9 Add HTTP/2 and HTTP/3 error code types (#148)
### Motivation

HTTP/2 and HTTP/3 both carry a numeric error code to say why a stream or
a connection was terminated. HTTPTypes has no currency type for either,
so adopters passed bare integers around or defined their own.

### Modifications

Add HTTP2ErrorCode and HTTP3ErrorCode.

### Result

HTTP/2 and HTTP/3 error codes are first-class currency types.

---------

Co-authored-by: Fabian Fett <fabianfett@apple.com>
2026-08-29 00:04:31 +01:00
Guoye Zhang 4105126730 Rename raw subscript to values 2023-09-02 12:48:20 -07:00
Guoye Zhang ae848811f9 Internal API review feedback 2023-06-30 10:06:35 -07:00