aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun.erl')
-rw-r--r--src/gun.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gun.erl b/src/gun.erl
index 880a2ae..b27ea6e 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -267,12 +267,14 @@
-type ws_opts() :: #{
closing_timeout => timeout(),
compress => boolean(),
+ default_protocol => module(),
flow => pos_integer(),
keepalive => timeout(),
protocols => [{binary(), module()}],
reply_to => pid(),
silence_pings => boolean(),
- tunnel => stream_ref()
+ tunnel => stream_ref(),
+ user_opts => any()
}.
-export_type([ws_opts/0]).