[erlang-questions] [ANN] hackney 0.1
Benoit Chesneau
bchesneau@REDACTED
Tue Jul 17 01:28:15 CEST 2012
Hi all,
Just a quick message to let you know I released the first version of
hackney, a simple HTTP client in Erlang. Some part of the code reuse the
cowboy HTTP parser and follow similar concepts.
Main features are:
- no message passing: response is directly streamed to the current
process and a state is kept in a #client{} record. binary
streams
- SSL support
- Keepalive handling
- basic authentication
- stream the response
- Can send files using the sendfile API
- Chunked encoding support
- Optionnal socket pool
- Used parse transform for shorcut methods
calls:hackney:get("https://friendpaste.com")
This a WIP, current TODO is available on github [1]. Full doc and source
are available on github [2].
Let me know what you think about it,
- benoît
[1] https://github.com/benoitc/hackney/blob/master/TODO.md
[2] https://github.com/benoitc/hackney
More information about the erlang-questions
mailing list