diff options
author | Loïc Hoguin <[email protected]> | 2017-04-28 11:28:41 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-04-28 11:28:41 +0200 |
commit | 8b9d9937dc4c2a0f8c849b965efed560fa469904 (patch) | |
tree | 21d28f198a48b265666cd7c6d809d3a78ffc1311 /src/gun_content_handler.erl | |
parent | 32db544782f2528ed0916eecb200f75924dcc407 (diff) | |
download | gun-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_content_handler.erl')
0 files changed, 0 insertions, 0 deletions