Antero Duarte
01/10/2019, 11:59 AMhandle {}
, because I really like the DSL for get{}
, put{}
, post{}
...etcorangy
route
function accept varargs of method:
Current:
fun Route.route(path: String, method: HttpMethod, build: Route.() -> Unit): Route
Change:
fun Route.route(path: String, vararg method: HttpMethod, build: Route.() -> Unit): Route
and changing HttpMethodRouteSelector
accordinglyorangy
Antero Duarte
01/10/2019, 12:46 PM