Re: [akka-user] akka-http (experimental) file server

2014-12-23 Thread Akka Team
Hi Allan, On Mon, Dec 22, 2014 at 9:03 PM, Allan Brighton allane...@gmail.com wrote: Is there an example http file server and client like this that works with the latest 1.0-M1 version? Wait a little more and you will see some http documentation coming (1.0-M2 is coming! Ho Ho Ho!). The API

Re: [akka-user] akka-http (experimental) file server

2014-12-23 Thread RĂ¼diger Klaehn
Hi Allan, I updated the gist https://gist.github.com/rklaehn/3f26c3f80e5870831f52 to work with 1.0-M2. However, I am not sure if what I do is idiomatic. It seems to work though. On Mon, Dec 22, 2014 at 9:03 PM, Allan Brighton allane...@gmail.com wrote: Is there an example http file server and

Re: [akka-user] akka-http (experimental) file server

2014-12-22 Thread Allan Brighton
Is there an example http file server and client like this that works with the latest 1.0-M1 version? On Thursday, November 20, 2014 4:11:38 PM UTC+1, rklaehn wrote: On Thu, Nov 20, 2014 at 3:31 PM, Allan Brighton alla...@gmail.com javascript: wrote: Thanks for the http server example. It

Re: [akka-user] akka-http (experimental) file server

2014-11-20 Thread Allan Brighton
Thanks for the http server example. It works fine. Do you also have a matching example for the client side? I found akka.http.TestClient, which is a start, but does not give any hints about reading the data from the server. On Wednesday, November 19, 2014 9:35:18 PM UTC+1, rklaehn wrote: This

Re: [akka-user] akka-http (experimental) file server

2014-11-20 Thread RĂ¼diger Klaehn
On Thu, Nov 20, 2014 at 3:31 PM, Allan Brighton allane...@gmail.com wrote: Thanks for the http server example. It works fine. Do you also have a matching example for the client side? I found akka.http.TestClient, which is a start, but does not give any hints about reading the data from the

[akka-user] akka-http (experimental) file server

2014-11-19 Thread Allan Brighton
Hi, I'd like to make an akka-http based file server that returns requested large binary files (using chunking and ByteStrings), but haven't found any suitable examples yet. So something like this: case class FileServer(interface: String, port: Int) { implicit val system = ActorSystem()