I see that one can test for the presence of a plug...
# ktor
a
I see that one can test for the presence of a plugin with
Copy code
fun testCompression() =
        testApplication {
            application {
                assertThat(pluginOrNull(Compression)).isNotNull()
            }
        }
How does one access the configuration properties of the plugin?
h
There is no api to get the configuration of a plugin. It’s up to the plugin author how to handle the configuration. Some plugins do not even need to store the configuration.
a
So, only the public members of the plugin class are visible.
a
Gotcha thanks.