Re: [akka-user] Re: How to start an akka-http server with a Route

2015-07-13 Thread Konrad Malawski
Hi Sam, thanks for pointing out that frustration point - we'll include this commit adding more info about how it works in the docs (please note it's still WIP, not all docs are there yet). On Sun, Jul 12, 2015 at 6:49

[akka-user] Re: How to start an akka-http server with a Route

2015-07-12 Thread Ernesto Menéndez
Do you have the ActorMaterializer as an implicit value? implicit val materializer = ActorMaterializer() On Sunday, July 12, 2015 at 7:58:49 AM UTC-6, Sam Halliday wrote: > > There seems to be some magical implicit conversion going on here, if I add > > def flow: Flow[HttpRequest, HttpRespons

[akka-user] Re: How to start an akka-http server with a Route

2015-07-12 Thread Sam Halliday
There seems to be some magical implicit conversion going on here, if I add def flow: Flow[HttpRequest, HttpResponse, Unit] = route to my service trait, I can get the Flow. Unfortunately I have absolutely no idea where this implicit is coming from because the akka-http routing DSL basically k