about summary refs log tree commit homepage
path: root/README
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2014-08-14 19:44:09 +0000
committerEric Wong <normalperson@yhbt.net>2014-08-14 19:44:09 +0000
commit3b02e6a8c745a92dab9186555c9ed0161ca8d8ea (patch)
tree738bf51090d03b29034400ff56501fafc1733157 /README
parent8333454e7c95407b7d7eff5e8fbae0a2795b4d06 (diff)
This is more portable across different servers than Thread.current
in case of non-blocking servers which may be serving multiple
clients at once.  This is also faster than relying on $e{...} since
$e{...} uses eval and that is slow.
Diffstat (limited to 'README')
-rw-r--r--README1
1 files changed, 1 insertions, 0 deletions
diff --git a/README b/README
index e125b6f..74c8185 100644
--- a/README
+++ b/README
@@ -88,6 +88,7 @@ that receives a "<<" method:
 * $pid - process ID of the current process
 * $e{Thread.current} - Thread processing the request
 * $e{Actor.current} - Actor processing the request (Revactor or Rubinius)
+* $env{variable_name} - any Rack environment variable (e.g. rack.url_scheme)
 
 == REQUIREMENTS