https://kotlinlang.org logo
#server
Title
r

Regyn

03/23/2020, 7:46 PM
Has anyone achieved to somehow override the pipeline merge function so I can kick out interceptors/phases? I've implemented a RateLimit Feature, which I can wrap around routes like "authenticated". What I want to achieve though is that only the last interceptor is active. Like rateLimit(5000) { rateLimit(100) { get("/") { ... } } }. There, only the rateLimit(100) should be active.