So I'm following the documentation on the new Akka-Http experimental modules, and I'm trying to get a basic Hello World using the Routing DSL.
I've defined my route as follows: val route: Route = { complete(HttpResponse(entity = "Hello, world!")) } I can bind and accept HTTP connections: serverBinding.connections.foreach { connection => println("Accepted new connection from " + connection.remoteAddress) // How do I "run" my route from here?? } I feel pretty dumb because I can't find anywhere in the documentation explaining how to plug the two together. I tried scraping the API docs to find some class or method that does it, but all I found was a call to Route.handlerFlow(route) which requires some RoutingSetup implicit variable that is very difficult to instantiate. I couldn't find any Typesafe Activator template that shows how to do this either. I feel pretty dumb because I'm probably missing something really obvious. Please help! - Phili -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.