Hi, I have a question about Ktor, maybe anyone sol...
# server
s
Hi, I have a question about Ktor, maybe anyone solved this already: Is there a way to get/log actual amount of received/sent bytes for the HTTP request?
s
Oh, I did not know about dedicated #ktor channel, thanks @hho! Regarding example - it's not exactly what I need. I was interested in logging generic incoming/outgoing byte counters for every request using custom logging plugin. Tried to intercept different phases in
ApplicationCallPipeline.receivePipeline
or
ApplicationCallPipeline.sendPipeline
but unsuccessfully.