aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_ws_h.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2022-12-05 17:22:09 +0100
committerLoïc Hoguin <[email protected]>2022-12-05 17:22:09 +0100
commit172800967c2d53251d7cb1015e3c957c5b065bb1 (patch)
tree1ce8a3d138b1ca7894ddd965c186b313aa0aaee4 /src/gun_ws_h.erl
parentc98c045affe053ba37e062e2754f32dcd65a0b30 (diff)
downloadgun-172800967c2d53251d7cb1015e3c957c5b065bb1.tar.gz
gun-172800967c2d53251d7cb1015e3c957c5b065bb1.tar.bz2
gun-172800967c2d53251d7cb1015e3c957c5b065bb1.zip
Document Websocket subprotocol negotiation
Diffstat (limited to 'src/gun_ws_h.erl')
-rw-r--r--src/gun_ws_h.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gun_ws_h.erl b/src/gun_ws_h.erl
index 2412122..fca3c9a 100644
--- a/src/gun_ws_h.erl
+++ b/src/gun_ws_h.erl
@@ -13,6 +13,7 @@
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-module(gun_ws_h).
+-behavior(gun_ws_protocol).
-export([init/4]).
-export([handle/2]).