async-http-client icon indicating copy to clipboard operation
async-http-client copied to clipboard

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

Open dsimk opened this issue 3 years ago • 1 comments

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!

dsimk avatar Dec 01 '22 19:12 dsimk

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.

Squiry avatar Dec 08 '22 20:12 Squiry