https://kotlinlang.org logo
#ktor
Title
# ktor
f

Felix

04/12/2018, 10:47 PM
Hi. Where can I find more information about the HTTP client design in ktor? I'm particularly curious on the reasons behind some of the decisions on Apache-based client, namely the design of the ApacheResponseConsumer and the motivation for the backendChannel.
e

elizarov

04/13/2018, 6:41 AM
@e5l
e

e5l

04/13/2018, 7:04 AM
Hi, @Felix. You could mention me in any question about the ktor client. There is no client engine design documentation yet.
backendChannel
is used to buffer server response because
ByteChannel
has fixed size.
f

Felix

04/13/2018, 8:34 AM
Thanks for the help. I will probably have lots of questions. Let me take a second look into the implementation.