DefaultKtorApplication
open class DefaultKtorApplication(scope: InjectionScope) : KtorApplication
Content copied to clipboard
A basic implementation of KtorApplication that uses sane defaults.
This implementation sets up the following:
Adds the ContentNegotiation feature to the application with Jackson (and sets up the JavaTimeModule on Jackson)
Uses Netty as the server backend
Uses the WebConfiguration to configure the host and port of the application