https://kotlinlang.org logo
#ktor
Title
n

Nikky

09/16/2018, 7:27 PM
so while playing around with locations i ened up following some pattern repeatedly.. making a data class with location, registering as
get
and calling
Copy code
call.respondHtml {
     it.html(this)
}
is there maybe some construct that would allow me to shorten that ? otherwise i will try to make it a feature myself