http3: simplify response header writing (#4441)

This commit is contained in:
Marten Seemann
2024-04-17 09:44:36 -07:00
committed by GitHub
parent 788b6f4409
commit e48e1d465d
5 changed files with 54 additions and 59 deletions

View File

@@ -101,6 +101,10 @@ func (s *stream) Write(b []byte) (int, error) {
return s.Stream.Write(b)
}
func (s *stream) writeUnframed(b []byte) (int, error) {
return s.Stream.Write(b)
}
func (s *stream) StreamID() protocol.StreamID {
return s.Stream.StreamID()
}