On Thu, Nov 20, 2014 at 3:31 PM, Allan Brighton <[email protected]> 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 [email protected].
To post to this group, send email to [email protected].
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