Something like a akka-http based curl equivalent would be a great
asset for testing, and also a good example. However, I am not sure how
much the syntax will change from now to 1.0.

If you want to play with it, one capability I would like to see is
client-side bandwidth limiting (like the --limit-rate parameter of
curl). That allows you to request a large amount of data at very low
rate and see if the server blows up with an OOME due to wrong back
pressure handling.

On Fri, Nov 21, 2014 at 12:35 AM, Allan Brighton <[email protected]> wrote:
> I'm also interested in this. Here is a modified example http client and
> server that work on 0.11 (based on Rüdiger's example):
>    https://gist.github.com/abrighton/acd43a6cd9c0b997c456
>
> Any suggestions are welcome. I also plan to add the capability to upload
> files using this (with POST), which should work in a similar way.
>
> --
> Allan
>
>
> On Thursday, November 20, 2014 8:16:26 PM UTC+1, Brian Topping wrote:
>>
>> Hi all,
>>
>> It looks like the syntax of handling client HTTP streams are under rapid
>> revision, but I wanted to build a client with 0.11 anyway. I've found some
>> examples, but none of them are quite up-to-date.
>>
>> If anyone cares to contribute, a little discussion is going on at
>> https://gist.github.com/rklaehn/3f26c3f80e5870831f52 for 0.11. (A dead link
>> for future seekers means the examples are better documented elsewhere!).
>>
>> Kind of wondering if a test client could be kept updated, maybe something
>> paired with
>> https://github.com/akka/akka/blob/release-2.3-dev/akka-http-tests/src/test/scala/akka/http/server/TestServer.scala.
>> I think it would be completely reasonable to skip the HttpAuthentication
>> directive that Johannes added on 3-Nov to the server, just something that
>> can log in and dump the results of the "/ping" path would be awesome!
>>
>> Thoughts?
>>
>> Cheers, Brian
>
> --
>>>>>>>>>>> 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.

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