then you can use something like this (where segs is of type List[String]):pathPrefix("foo") {pathSuffix("bar") {path(Segments) { segs =>complete(s"The inner segments are $segs")}}}
val route: Route =
path("foo" / Segment / Segment / Segment / "bar") { (p1, p2, p3) =>
complete(OK)
}
--
You received this message because you are subscribed to a topic in the Google Groups "spray.io User List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spray-user/XXAaoubOEqg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spray-user+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/spray-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/spray-user/1a489092-d12d-4555-9270-0f489ed9e748%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "spray.io User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spray-user+...@googlegroups.com.
Visit this group at https://groups.google.com/group/spray-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/spray-user/1a489092-d12d-4555-9270-0f489ed9e748%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.