From 93065f0278dd07165ecd1db02b4c4c6a0a27a6f8 Mon Sep 17 00:00:00 2001 From: bel Date: Fri, 11 Apr 2014 21:39:14 +0200 Subject: [PATCH] Improve User Manual --- docs/UserManual.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/UserManual.md b/docs/UserManual.md index 3a2f5823..a4fc178e 100644 --- a/docs/UserManual.md +++ b/docs/UserManual.md @@ -394,6 +394,7 @@ insert the content of a variable by enclosing the Lua variable name in `` blocks, similar to PHP. For example, to print the current weekday name and the URI of the current page, one can write: +

Today is: @@ -435,6 +436,7 @@ in Lua. Examples are given in Civetweb exports the following functions to Lua: mg (table): + mg.read() -- reads a chunk from POST data, returns it as a string mg.write(str) -- writes string to the client mg.include(path) -- sources another Lua file @@ -466,6 +468,7 @@ mg (table): .remote_user -- user name if authenticated, nil otherwise connect (function): + -- Connect to the remote TCP server. This function is an implementation -- of simple socket interface. It returns a socket object with three -- methods: send, recv, close, which are synchronous (blocking).