diff options
author | Michal Piotrowski <[email protected]> | 2018-09-28 13:43:48 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-10-01 14:57:10 +0200 |
commit | 87e279322ba8dd86d6d8ab43f90a1b591ef090d1 (patch) | |
tree | 629a8ca004235c7b30fb86920ce4960ffeee6eef /src | |
parent | afc6745d3f3070418204cd5ce97adb592129777a (diff) | |
download | gun-87e279322ba8dd86d6d8ab43f90a1b591ef090d1.tar.gz gun-87e279322ba8dd86d6d8ab43f90a1b591ef090d1.tar.bz2 gun-87e279322ba8dd86d6d8ab43f90a1b591ef090d1.zip |
Document the protocols option for Websocket
Diffstat (limited to 'src')
-rw-r--r-- | src/gun.erl | 3 |
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]). |