diff --git a/http3/response_writer.go b/http3/response_writer.go index 0a42518cf..3b81f0a1f 100644 --- a/http3/response_writer.go +++ b/http3/response_writer.go @@ -119,6 +119,10 @@ func (w *responseWriter) DataStream() quic.Stream { return w.stream } +func (w *responseWriter) StreamID() quic.StreamID { + return w.stream.StreamID() +} + // copied from http2/http2.go // bodyAllowedForStatus reports whether a given response status code // permits a body. See RFC 2616, section 4.4.