hey I'm using ktor 2.0 and am making a plugin to p...
# ktor
b
hey I'm using ktor 2.0 and am making a plugin to piggy back off the content negotiation plugin and would like to find out which content-types are installed? So far I've only been able to accomplish it using reflection but that won't fly long-term. I started with
application.pluginOrNull(ContentNegotation)
and I can see that it's installed I just can't get to it's config and registrations without reflection that I can see.
a
I don’t think it’s possible to do without reflection.