mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Update behaviours for R15B+
This effectively drops the R14B compatibility. The cowboy_req:req() type will be introduced in a future commit. It refers to the #http_req{} record.
This commit is contained in:
parent
10adcdbc7d
commit
cc2e084d45
11 changed files with 128 additions and 68 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
-module(websocket_handler).
|
||||
-behaviour(cowboy_http_handler).
|
||||
-behaviour(cowboy_http_websocket_handler).
|
||||
-behaviour(cowboy_websocket_handler).
|
||||
-export([init/3, handle/2, terminate/2]).
|
||||
-export([websocket_init/3, websocket_handle/3,
|
||||
websocket_info/3, websocket_terminate/3]).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue