`Application.main` is an entry point to a user’s a...
# ktor
o
Application.main
is an entry point to a user’s application. User’s application should be hosted somewhere (well, in a host). Host can be embedded or not. If it’s embedded, then you start it from normal
main
function. So it works like
main
->
host
->
engine
->
Application.main