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 /src/cowboy_app.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 'src/cowboy_app.erl')
-rw-r--r-- | src/cowboy_app.erl | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cowboy_app.erl b/src/cowboy_app.erl index 5ed1180..180d400 100644 --- a/src/cowboy_app.erl +++ b/src/cowboy_app.erl @@ -20,15 +20,10 @@ -export([start/2]). -export([stop/1]). --type application_start_type() :: normal - | {takeover, node()} | {failover, node()}. - %% API. --spec start(application_start_type(), any()) -> {ok, pid()}. start(_Type, _Args) -> cowboy_sup:start_link(). --spec stop(any()) -> ok. stop(_State) -> ok. |