org.mashupbots.socko.routes
Matches HTTP requests with the same path segment pattern.
For example, to match /record/1, use:
/record/1
val r = Routes({ case PathSegments("record" :: id :: Nil) => { // id will be set to 1 ... } })
Matches HTTP requests with the same path segment pattern.
For example, to match
/record/1, use:val r = Routes({ case PathSegments("record" :: id :: Nil) => { // id will be set to 1 ... } })