Any way to serialize `http::[request/response]::Parts` to http2 header's binary format?

I want this as a part of a http log format. Can h2 crate do it, especially without async/tokio stuff?
Extra: We found that using some of the internal interfaces and code from h2 could be useful without any io/async involved. But dealing with those internal interfaces is not an easy task.

There seem to be some crates that provide standalone hpack codecs and claim to pass h2spec. Maybe try using them is an idea.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.