AsyncHttpClient/async-http-client

[Question] Is it possible to reuse the http parser in the library?

dsimk opened this issue · 1 comments

dsimk commented

Hi all,
as my question suggests, I am currently looking for a way to get the corresponding http request (or response) when giving a byte array as input. Is this possible anyhow?

Thanks!

I think AsyncHttpClient uses nettie's http codec. Take a look at io.netty.handler.codec.http.HttpClientCodec, but it's api is not as simple as parse byte array ofc.