playframework / play-ws

Standalone Play WS, an async HTTP client with fluent API
https://www.playframework.com/documentation/latest/JavaWS
Apache License 2.0
223 stars 87 forks source link

Add akka-http support #34

Open wsargent opened 7 years ago

wsargent commented 7 years ago

Gigahorse has akka-http support, I believe that @schmitch also has a branch open with akka-http implementation of WSClient.

ktoso commented 7 years ago

The most interesting aspect would be the streaming handling :)

schmitch commented 7 years ago

what do you exactly mean with "streaming handling"? play-ws actually implemented a way to use reactive-streams ;)

And yes I have a branch that uses the standalone API: https://github.com/schmitch/play-ws-akka/

Currently I implemented most in Scala, but I'm not sure if I keep that, since play-ws Java was mutable and my version would be immutable.

I actually still need to port the test suite and than fix some akka-http client bugs. Actually some things there aren't supported yet, like request timeout, proxy and some authentication schemas, signature calculation. Most of it can implemented on top of it, except a good request timeout handling. (Actually I even implemented followRedirects already)