respondKwebRender

suspend fun ApplicationCall.respondKwebRender(pathReceiver: PathReceiver)(source)

If you were previously using Kweb routes and you want to switch to Ktor, this is for you. You can copy your previous path receivers and they will be run the same way as before,

EXCEPT FOR THE PARAMETERS

Note that parameter handling is no longer done by Kweb, you'll have to use the Ktor io.ktor.http.Parameters functions

Parameters

pathReceiver

the receiver to execute on this path