Join Slack
Powered by
Hello, how can I add an interceptor so that each a...
# ktor
r
Riccardo Montagnin
11/26/2018, 2:19 PM
Hello, how can I add an interceptor so that each authenticated request returns the user a new token inside a custom header?
m
mp
11/26/2018, 3:00 PM
Same way you add other interceptors? See
https://ktor.io/advanced/pipeline.html
, etc
mp
11/26/2018, 3:00 PM
Note that that will be pretty annoying for clients to consume if they make requests in parallel
7
Views
Open in Slack
Previous
Next