aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_event.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun_event.erl')
-rw-r--r--src/gun_event.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_event.erl b/src/gun_event.erl
index 3520c79..1e158c4 100644
--- a/src/gun_event.erl
+++ b/src/gun_event.erl
@@ -65,7 +65,7 @@
stream_ref => reference(),
reply_to => pid(),
socket := inet:socket() | ssl:sslsocket() | pid(), %% The socket before/after will be different.
- tls_opts := [ssl:connect_option()],
+ tls_opts := [ssl:tls_client_option()],
timeout := timeout(),
protocol => http | http2,
error => any()