From cc2e084d456c99b3d71f09c08f516195b6015dae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 27 Aug 2012 12:46:42 +0200 Subject: 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. --- src/cowboy_app.erl | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/cowboy_app.erl') 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. -- cgit v1.2.3