-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High-level HTTP client support #113
Comments
Comment by kanerogers Awesome. Looking forward to this. |
Comment by jvican Me too. Great and necessary features! |
Comment by rkuhn Thanks for your offer to help, the core team will likely not get around to these anytime soon. |
Comment by ktoso Somewhat related to akka/akka#18550 |
Comment by ktoso For reference when designing the client side: I bumped into very nice blog post which compared different Scala HTTP clients, among others Spray and Play: |
Comment by francisdb Could be a joined effort together with |
Comment by ktoso Thanks for cross referencing to that ticket – I've commented there as well as you'll notice :-) |
Comment by hepin1989 I just encounter this problem too,and then just try the AHC.A higher level like play-ws would be really helpful,the current For the client side there is https://github.com/eBay/parallec which we may take a look too. |
Comment by ktoso
I think it is crucial we do this. no one wants to re-implement the awesome work around SSL/TLS handling Will did in there. We, in Akka HTTP, are focusing to have a solid basis to build APIs on - easy to use API comes next :-) I'm not too sure about parallec, I skimmed the dependencies and it's somewhat of a weird mix. Also, its use case is very specific, not a general purpose Http Client I feel. |
Comment by hepin1989 Yes,our team is continuse to using Play-WS like thing,we wrap it ourself for none-play project,and for akka-http I think it should support https://github.com/netty/netty-tcnative for OpenSSL-based SSLEngine implementation:). |
Comment by francisdb Exactly. Anybody that wants to create a library that needs to do http calls (reactive database driver, ...) needs to make a decision on what client to use. Currently it's a hard choice. Since there is no good default. I would love to use play-ws but it's to bloated with all it's dependencies. |
Comment by jeffpeiyt @ktoso Yes, Parallec does focus on some large scale use cases (such as serving as agent master to manage a lot of agents or making a lot of concurrent calls). It uses AHC and also supports TCP/PING/SSH, which may make the dependency looks mixed. Probably @hepin1989 means that he likes Akka HTTP to have some level of built in concurrency control to handle large scale calls. |
Comment by ktoso comment via @2Beaucoup:
Yeah, however may be worth drafting a bit as experimental side/pet project in any case... I toyed around with it and the nice idea about it is that fluent DSLs can lead towards doing only the right thing (also, not allow calling request unless dataBytes sink (or "please drain but i dont care") is defined etc. Another answer would be Up for grabs and opinions still. |
Issue by jrudolph
Wednesday Feb 11, 2015 at 13:54 GMT
Originally opened as akka/akka#16856
It would be convenient if akka-http would provide common high-level HTTP functionality similar to what a browser supports in its backend. This is a collection of all the things that would belong into this category. This is a metaticket and each subfeature has its own ticket.
The text was updated successfully, but these errors were encountered: