From b864483ace75ca51f4f862b14b9d98a4ab377169 Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Tue, 5 Mar 2013 15:01:39 +0000 Subject: [PATCH] Separate data structure and built in functions, so you can more easily navigate to whichever you want to read about. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1452834 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_lua.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index fcb26e539b..8b0c19c7a2 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -611,8 +611,12 @@ end The IP of the user agent making the request + + + +
Built in functions -

The request_rec has (at least) the following methods:

+

The request_rec object has (at least) the following methods:

r:flush() -- flushes the output buffer @@ -792,15 +796,15 @@ r:custom_response(status_code, string) -- Construct and set a custom response fo - r:sleep(number_of_seconds) -- Puts the script to sleep for a given number of seconds. +r:sleep(number_of_seconds) -- Puts the script to sleep for a given number of seconds. + -- This can be a floating point number like 1.25 for extra accuracy. r:dbacquire(dbType[, dbParams]) -- Acquires a connection to a database and returns a database class. -- See 'Database connectivity' for details. - - +
-- 2.40.0