aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun.erl')
-rw-r--r--src/gun.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gun.erl b/src/gun.erl
index 0095169..1659ee3 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -156,7 +156,8 @@
%% @todo keepalive
-type ws_opts() :: #{
- compress => boolean()
+ compress => boolean(),
+ protocols => [{binary(), module()}]
}.
-export_type([ws_opts/0]).