sonofblip
01/27/2020, 4:23 PMGET parameters
If you provide additional class properties that are not part of the path of the @Location, those parameters will be obtained from the GET's query string or POST parameters:
@Location("/list/{name}")
data class Listing(val name: String, val page: Int, val count: Int)
Will match: /list/movies?page=10&count=20
Will construct: Listing(name = "movies", page = 10, count = 20)