Closed greenhat616 closed 7 months ago
There is not. This is partly because the representation differs between HTTP/1, 2, and 3. And also because there's different opinions on how to do so efficiently, so it's left to other crates.
See also #378 and #339.
In go, we can use
http.NewRequest
and do something like Request struct inhyper
, and can usereq.Write
to write the http message to a Writer Stream.Is there any way to do like that?