Hi, anyone can help me with this?
I need to log stuff like http method, user agent etc before and after request to my ktor service. Do I have to:
1. Create a feature
2. Create phase
3. Insert phase before monitoring phase
4. Intercept new phase and make “Before” log before calling
proceed()
and “After” after
proceed()
is finished?
or do I need 2 phases one for before
monitoring
phase and one for after
call
phase?
or do I need to intercept
send
and
receive
pipeline phases separately?