0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +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:
Loïc Hoguin 2012-08-27 12:46:42 +02:00
parent 10adcdbc7d
commit cc2e084d45
11 changed files with 128 additions and 68 deletions

View file

@ -1,6 +1,7 @@
%% Feel free to use, reuse and abuse the code in this file.
-module(http_handler_loop_timeout).
-behaviour(cowboy_loop_handler).
-export([init/3, info/3, terminate/2]).
init({_, http}, Req, _) ->