Pathmatchers in Akka HTTP enable the programmer to extract values
from the URL. Here we extend the pathmatching facility to do
validation using the predicate of our refined types. If validation
fails, reject the request -- see Handlers.scala for how this is
handled.
Pathmatchers in Akka HTTP enable the programmer to extract values from the URL. Here we extend the pathmatching facility to do validation using the predicate of our refined types. If validation fails, reject the request -- see Handlers.scala for how this is handled.
https://github.com/fthomas/refined
http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0/scala.html