aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/gun.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/manual/gun.asciidoc')
-rw-r--r--doc/src/manual/gun.asciidoc4
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()