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 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. 
> > 
> Sure. Based on the TestClient example, here is one that reads data 
> from the server and dumps it on the console. 
>
> https://gist.github.com/rklaehn/3f26c3f80e5870831f52#file-client-example 
>
> However, last time I tried this did not properly handle chunked 
> encoding. But that was 0.10-M1. I will have to try again. 
>
> Also, I hope there will be a less verbose way to do a simple GET request. 
>

-- 
>>>>>>>>>>      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.

Reply via email to