diff options
author | Loïc Hoguin <[email protected]> | 2019-07-27 16:53:26 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-07-27 16:54:15 +0200 |
commit | 145b9af4bdbb85e2f83959ee8abaa4d9207a4529 (patch) | |
tree | 5be8e222957b00eafac16f006e26bb90ac46bf81 /doc/src | |
parent | 50ff97bf82cd146cb289e5b9fbd864bbcc9c30d9 (diff) | |
download | gun-145b9af4bdbb85e2f83959ee8abaa4d9207a4529.tar.gz gun-145b9af4bdbb85e2f83959ee8abaa4d9207a4529.tar.bz2 gun-145b9af4bdbb85e2f83959ee8abaa4d9207a4529.zip |
Fix ssl and other types
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/manual/gun.asciidoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/manual/gun.asciidoc b/doc/src/manual/gun.asciidoc index f8d5406..da5548b 100644 --- a/doc/src/manual/gun.asciidoc +++ b/doc/src/manual/gun.asciidoc @@ -98,7 +98,7 @@ connect_destination() :: #{ protocols => [http | http2], transport => tcp | tls, - tls_opts => [ssl:connect_option()], + tls_opts => [ssl:tls_client_option()], tls_handshake_timeout => timeout() } ---- @@ -213,7 +213,7 @@ opts() :: #{ supervise => boolean(), tcp_opts => [gen_tcp:connect_option()], tls_handshake_timeout => timeout(), - tls_opts => [ssl:connect_option()], + tls_opts => [ssl:tls_client_option()], trace => boolean(), transport => tcp | tls, ws_opts => ws_opts() |