From fbc02e9932ac9d101be48e5244a7311e47af9c90 Mon Sep 17 00:00:00 2001 From: benoitc Date: Tue, 15 Apr 2014 01:15:45 +0200 Subject: [PATCH] sync doc --- README.md | 6 +++--- doc/hackney_request.md | 9 ++++++++- doc/utf8/README.md | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f8171827..9805e48d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ + # hackney - HTTP client library in Erlang # Copyright (c) 2012-2014 Benoît Chesneau. -__Version:__ 0.11.1 +__Version:__ 0.11.2 # hackney @@ -374,8 +375,7 @@ Options = [{follow_redirect, true}, {max_redirect, true}], To use an HTTP tunnel add the option `{proxy, ProxyUrl}` where `ProxyUrl` can be a simple url or an `{Host, Port}` tuple. If you need -to authenticate set the option `{proxy_auth, {User, Password}}` -(use binaries for username and password). +to authenticate set the option `{proxy_auth, {User, Password}}`. #### SOCKS5 proxy diff --git a/doc/hackney_request.md b/doc/hackney_request.md index 0e6cdd2c..389edf77 100644 --- a/doc/hackney_request.md +++ b/doc/hackney_request.md @@ -13,13 +13,20 @@ module handling the request. ## Function Index ## -
encode_form/1encode a list of properties in a form.
end_stream_body/1
is_default_port/1
location/1
make_multipart_stream/2
perform/2
send/2
send_chunk/2
sendfile/3
stream_body/2
stream_multipart/2stream multipart.
+
default_ua/0
encode_form/1encode a list of properties in a form.
end_stream_body/1
is_default_port/1
location/1
make_multipart_stream/2
perform/2
send/2
send_chunk/2
sendfile/3
stream_body/2
stream_multipart/2stream multipart.
## Function Details ## + + +### default_ua/0 ### + +`default_ua() -> any()` + + ### encode_form/1 ### diff --git a/doc/utf8/README.md b/doc/utf8/README.md index f0511b3f..d1b82dfb 100644 --- a/doc/utf8/README.md +++ b/doc/utf8/README.md @@ -4,7 +4,7 @@ Copyright (c) 2012-2014 Benoît Chesneau. -__Version:__ 0.11.1 +__Version:__ 0.11.2 # hackney