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

than_

01/20/2021, 11:26 AM
hi, is there a way to attach interceptor after
call.respond
is called? Lets say I want to log something on calls with specific status codes.
Solved. For anyone interested it's
Copy code
route.application.sendPipeline.intercept(phase = ApplicationSendPipeline.Phases.After)
I don't think it's documented. So I just had to dig around a little.
👌 1
j

Jorge R

01/20/2021, 2:39 PM
It is not, I was looking for this I couldn’t find anything
8 Views