Support unidirectional streams in WebTransport over HTTP/3.
This CL adds support for sending, receiving, buffering, tracking and closing unidirectional streams attached to a WebTransport over HTTP/3 session.
This also fills in some of the missing gaps in the API and testing infrastructure to make this work.
PiperOrigin-RevId: 366108288
Change-Id: I16b779f8905b597b5f948f02a7c37e656ae44659
diff --git a/quic/core/http/http_constants.h b/quic/core/http/http_constants.h
index a5409b5..c13a1a8 100644
--- a/quic/core/http/http_constants.h
+++ b/quic/core/http/http_constants.h
@@ -22,6 +22,8 @@
// https://quicwg.org/base-drafts/draft-ietf-quic-qpack.html#enc-dec-stream-def
kQpackEncoderStream = 0x02,
kQpackDecoderStream = 0x03,
+ // https://ietf-wg-webtrans.github.io/draft-ietf-webtrans-http3/draft-ietf-webtrans-http3.html#name-unidirectional-streams
+ kWebTransportUnidirectionalStream = 0x54,
};
// This includes control stream, QPACK encoder stream, and QPACK decoder stream.