From: Daniel Gruno Date: Tue, 5 Mar 2013 15:01:39 +0000 (+0000) Subject: Separate data structure and built in functions, so you can more easily navigate to... X-Git-Tag: 2.5.0-alpha~5702 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b864483ace75ca51f4f862b14b9d98a4ab377169;p=apache 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 --- 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. - - +