[erlang-questions] [ANN] Katipo - a compatible and high-performance HTTP client for Erlang

Paul Oliver puzza007@REDACTED
Mon Aug 10 11:58:38 CEST 2015

Hi all,

Where: https://github.com/puzza007/katipo


Katipo is an HTTP client for Erlang based on libcurl and libevent.


We wanted a very compatible HTTP client for Erlang.


Implemented as a pool of port executables, each running an instance of


{ok, _} = application:ensure_all_started(katipo).
Url = <<"https://testurl.com">>.
ReqHeaders = [{<<"User-Agent">>, <<"katipo">>}].
Opts = #{headers => ReqHeaders,
               body => <<"0d5cb3c25b0c5678d5297efa448e1938">>,
               connecttimeout_ms => 5000},
{ok, #{status := 200,
          headers := RespHeaders,
          cookiejar := CookieJar,
          body := RespBody}} = katipo:post(Url, Opts).


The current status is alpha, with basic functionality working for OTP 18.
There's still plenty from libcurl that can be exposed.  Upcoming features
are OTP 17.x support and the ability to stream responses to clients.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150810/b588bafe/attachment.htm>

More information about the erlang-questions mailing list