From b2ffff9bec7f9d137ab5abdc3b77203914b5ae63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 20 Feb 2013 12:14:21 +0100 Subject: Add cowboy:set_env/3 --- guide/middlewares.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'guide/middlewares.md') diff --git a/guide/middlewares.md b/guide/middlewares.md index 0ab6dc2..b5f055c 100644 --- a/guide/middlewares.md +++ b/guide/middlewares.md @@ -58,6 +58,9 @@ will not process any subsequent requests on this connection. The middlewares that come with Cowboy may define or require other environment values to perform. +You can update the environment by calling the `cowboy:set_env/3` +convenience function, adding or replacing a value in the environment. + Routing middleware ------------------ -- cgit v1.2.3