getKtorModulesByPriority

fun InjectionEnvironment.getKtorModulesByPriority(allIdentifiers: List<Identifier<out KtorModule>>, appNameConstraint: AppNameConstraint, additionalModules: List<KtorModule>): List<KtorModule>

Retrieves all implementations of KtorModule subclasses in the given environment, sorted by decreasing priority.


fun InjectionEnvironment.getKtorModulesByPriority(allIdentifiers: List<Identifier<out KtorModule>>, appName: String?, additionalModules: List<KtorModule>): List<KtorModule>

Deprecated

Use AppNameConstraint.App instead of a String for the appName parameter

Retrieves all implementations of KtorModule subclasses in the given environment, sorted by decreasing priority.