Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Use directives to construct route
val route = protocolAndHost { (p: String, h: String) =>
complete {
Response(s"protocol was $p and host was $h")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment