aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun.erl
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 /src/gun.erl
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 'src/gun.erl')
0 files changed, 0 insertions, 0 deletions