httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1452834 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Date Tue, 05 Mar 2013 15:01:40 GMT
Author: humbedooh
Date: Tue Mar  5 15:01:39 2013
New Revision: 1452834

URL: http://svn.apache.org/r1452834
Log:
Separate data structure and built in functions, so you can more easily navigate to whichever
you want to read about.

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_lua.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml?rev=1452834&r1=1452833&r2=1452834&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml Tue Mar  5 15:01:39 2013
@@ -611,8 +611,12 @@ end
           <td>The IP of the user agent making the request</td>
         </tr>
         </table>
+           </dd>
+    </dl>
+</section>
+<section id="functions"><title>Built in functions</title>
 
-        <p>The request_rec has (at least) the following methods:</p>
+        <p>The request_rec object has (at least) the following methods:</p>
 
         <highlight language="lua">
         r:flush() -- flushes the output buffer
@@ -792,15 +796,15 @@ r:custom_response(status_code, string) -
         </highlight>
 
         <highlight language="lua">
-        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.
         </highlight>
 
         <highlight language="lua">
 r:dbacquire(dbType[, dbParams]) -- Acquires a connection to a database and returns a database
class.
                                 -- See '<a href="#databases">Database connectivity</a>'
for details.
         </highlight>
-        </dd>
-    </dl>
+
 
 </section>
 



Mime
View raw message