https://kotlinlang.org logo
d

Derk-Jan Karrenbeld

11/02/2018, 12:20 AM
In reality, normally you would want the HttpClient to handle this for you. You don't want a deserializer to take care of "chunks", but for your case, you need the chunks in order to determine how big your message is.