DefaultsModule

abstract class DefaultsModule(appName: String?) : KtorModule

Abstract module that applies the AppDefaults configuration for Ktor applications.

Typical usage should be done like DefaultAppDefaultsModule: simply subclass this class and supply your application's name

Constructors

Link copied to clipboard
fun DefaultsModule(appName: String?)

Functions

Link copied to clipboard
open override fun Application.install()

Properties

Link copied to clipboard
val moduleInstallationPriority: Int
Link copied to clipboard
val restrictToAppName: String?

Inheritors

Link copied to clipboard