aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_middleware.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_middleware.erl')
-rw-r--r--src/cowboy_middleware.erl11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/cowboy_middleware.erl b/src/cowboy_middleware.erl
index b268366..fa0f5bc 100644
--- a/src/cowboy_middleware.erl
+++ b/src/cowboy_middleware.erl
@@ -12,17 +12,6 @@
%% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-%% @doc Behaviour for middlewares.
-%%
-%% Only one function needs to be implemented, <em>execute/2</em>.
-%% It receives the Req and the environment and returns them
-%% optionally modified. It can decide to stop the processing with
-%% or without an error. It is also possible to hibernate the process
-%% if needed.
-%%
-%% A middleware can perform any operation. Make sure you always return
-%% the last modified Req so that Cowboy has the up to date information
-%% about the request.
-module(cowboy_middleware).
-type env() :: [{atom(), any()}].