From 87e279322ba8dd86d6d8ab43f90a1b591ef090d1 Mon Sep 17 00:00:00 2001 From: Michal Piotrowski Date: Fri, 28 Sep 2018 13:43:48 +0200 Subject: Document the protocols option for Websocket --- src/gun.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gun.erl') 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]). -- cgit v1.2.3