fun Application.myModule() {
install(MyPlugin) { // configuration }
}
Guessing the plugin execution order is implied by the code order but just want to double check, e.g.
Copy code
fun Application.myModule() {
install(CORS) // runs before my plugin
install(MyPlugin) { // configuration }
install(Foo) // can process response of my plugin
}
a
Aleksei Tirman [JB]
02/08/2023, 7:36 AM
The order of execution depends on what phases in what pipelines plugins intercept. Only if plugins intercept the same phase in the same pipeline, the order is determined by the order of