Re: [akka-user] handleWithSyncHandler, handleWith, handleWithAsyncHandler

2016-06-01 Thread RamuR
Thank you On Wednesday, 1 June 2016 13:59:10 UTC+5:30, Konrad Malawski wrote: > > Use Async and complete with Future.successful / Future.failed which don't > go via async ;) > > -- > Konrad `ktoso` Malawski > Akka @ Lightbend > > On 1 June 2016 at

[akka-user] handleWithSyncHandler, handleWith, handleWithAsyncHandler

2016-06-01 Thread RamuR
- low-level-server-side-api.html - - The following are requestHandler methods - - a Flow[HttpRequest, HttpResponse, _] for handleWith, - a function HttpRequest => HttpResponse for handleWithSyncHandler, - a function HttpRequest => Future[HttpResponse] for

Re: [akka-user] handleWithSyncHandler, handleWith, handleWithAsyncHandler

2016-06-01 Thread Konrad Malawski
Use Async and complete with Future.successful / Future.failed which don't go via async ;) -- Konrad `ktoso` Malawski Akka @ Lightbend On 1 June 2016 at 10:28:29, RamuR (ramu.rajaseka...@gmail.com) wrote: - low-level-server-side-api.html - - The