Re: [akka-user] A little problem with new HTTP 1.0-M1

2014-12-24 Thread Roland Kuhn
Sent from my iPhone > On 24 Dec 2014, at 09:34, Endre Varga wrote: > > Hi Greg, > > > On Tue, Dec 23, 2014 at 10:57 PM, tigerfoot wrote: >>> Thanks for the clarification... the new API is very different. I need to >>> let this whole flows thing sink in a bit, but I kinda see where its goi

Re: [akka-user] A little problem with new HTTP 1.0-M1

2014-12-24 Thread Endre Varga
Hi Greg, On Tue, Dec 23, 2014 at 10:57 PM, tigerfoot wrote: > Thanks for the clarification... the new API is very different. I need to >> let this whole flows thing sink in a bit, but I kinda see where its going. >> > Take a look at the new docs: http://doc.akka.io/docs/akka-stream-and-http-ex

Re: [akka-user] A little problem with new HTTP 1.0-M1

2014-12-23 Thread tigerfoot
> > Thanks for the clarification... the new API is very different. I need to > let this whole flows thing sink in a bit, but I kinda see where its going. > Granted this is just one use case but I am a little concerned about all > the machinery needed to perform something pretty simple, a GET

Re: [akka-user] A little problem with new HTTP 1.0-M1

2014-12-22 Thread Akka Team
Hi Greg, The API doesn't look like that. Here is an example how it is supposed to work: import akka.actor.ActorSystem import akka.stream.FlowMaterializer import akka.stream.scaladsl.{ Sink, Source } import akka.http.model.{ HttpResponse, HttpRequest } import akka.http.Http import scala.concurrent

[akka-user] A little problem with new HTTP 1.0-M1

2014-12-21 Thread tigerfoot
Hello, I'm very excited about the new Akka streams + http features. Migrating some sample code from Spray to Akka-Http I encountered a small problem in a utility class I use to fire http requests. Code here: import akka.http.Http import akka.http.model._ import akka.io.IO import akka.pattern