diff options
author | Loïc Hoguin <[email protected]> | 2012-08-27 12:46:42 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-08-27 12:50:00 +0200 |
commit | cc2e084d456c99b3d71f09c08f516195b6015dae (patch) | |
tree | 7fafcb37fe43e06c80032fd52c238f460c93d9ad /test/http_handler_loop_timeout.erl | |
parent | 10adcdbc7dce733fa300fffdd11ce24ae7c17e38 (diff) | |
download | cowboy-cc2e084d456c99b3d71f09c08f516195b6015dae.tar.gz cowboy-cc2e084d456c99b3d71f09c08f516195b6015dae.tar.bz2 cowboy-cc2e084d456c99b3d71f09c08f516195b6015dae.zip |
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.
Diffstat (limited to 'test/http_handler_loop_timeout.erl')
-rw-r--r-- | test/http_handler_loop_timeout.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/http_handler_loop_timeout.erl b/test/http_handler_loop_timeout.erl index 76d6ea8..0e8c78f 100644 --- a/test/http_handler_loop_timeout.erl +++ b/test/http_handler_loop_timeout.erl @@ -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, _) -> |