[erlang-questions] better HTTP client?
Mon Sep 9 01:33:05 CEST 2013
On Sunday, September 8, 2013, Chris King wrote:
> It's been a long time since I looked under the hood, but have you looked
> at lhttpc? It worked well for us when inets httpc did not.
> Hm, that looks good, but does not support asynchronous cancelable
> requests. (I do lots of speculative prefetching; I want to be able to
> cancel not-yet-scheduled requests if they are no longer needed.) I will
> keep it in mind though; thanks.
Async cancelable and synchronous are basically isomorphic in Erlang, just
start a process to wrap the sync call and kill it if you want to cancel.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions