aboutsummaryrefslogtreecommitdiffstats
path: root/ebin
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-04-28 11:28:41 +0200
committerLoïc Hoguin <[email protected]>2017-04-28 11:28:41 +0200
commit8b9d9937dc4c2a0f8c849b965efed560fa469904 (patch)
tree21d28f198a48b265666cd7c6d809d3a78ffc1311 /ebin
parent32db544782f2528ed0916eecb200f75924dcc407 (diff)
downloadgun-8b9d9937dc4c2a0f8c849b965efed560fa469904.tar.gz
gun-8b9d9937dc4c2a0f8c849b965efed560fa469904.tar.bz2
gun-8b9d9937dc4c2a0f8c849b965efed560fa469904.zip
Add Gun Websocket handlers and protocol support
This functionality can be used to implement custom protocols on top of Websocket, but may also be used to decode frame contents on the fly if necessary. The default_protocol option defines what module should be used when no protocol was selected. The protocols option is a list of key/value pairs used to select the handler depending on the protocol that the server accepted. The feature is currently experimental.
Diffstat (limited to 'ebin')
-rw-r--r--ebin/gun.app2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebin/gun.app b/ebin/gun.app
index eefe4cc..7fd12ea 100644
--- a/ebin/gun.app
+++ b/ebin/gun.app
@@ -1,7 +1,7 @@
{application, gun, [
{description, "HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP."},
{vsn, "1.0.0-pre.2"},
- {modules, ['gun','gun_app','gun_content_handler','gun_data','gun_http','gun_http2','gun_spdy','gun_sse','gun_sup','gun_ws']},
+ {modules, ['gun','gun_app','gun_content_handler','gun_data','gun_http','gun_http2','gun_spdy','gun_sse','gun_sup','gun_ws','gun_ws_handler']},
{registered, [gun_sup]},
{applications, [kernel,stdlib,ssl,cowlib,ranch]},
{mod, {gun_app, []}},