Explorar o código

xhttp_rpc: documentation updates

Ovidiu Sas %!s(int64=12) %!d(string=hai) anos
pai
achega
0c970537a2
Modificáronse 2 ficheiros con 6 adicións e 6 borrados
  1. 4 4
      modules/xhttp_rpc/README
  2. 2 2
      modules/xhttp_rpc/doc/xhttp_rpc_admin.xml

+ 4 - 4
modules/xhttp_rpc/README

@@ -16,7 +16,7 @@ Alex Balashov
 
    <[email protected]>
 
-   Copyright © 2011 VoIPEmbedded Inc.
+   Copyright © 2011 VoIPEmbedded Inc.
      __________________________________________________________________
 
    Table of Contents
@@ -130,15 +130,15 @@ modparam("xhttp_rpc", "xhttp_rpc_root", "http_rpc")
 
 3.2. xhttp_rpc_buf_size (str)
 
-   Specifies the maximum length of the buffer used to write the RPC reply
-   information in order to build the HTML response.
+   Specifies the maximum length of the buffer (in bytes) used to write the
+   RPC reply information in order to build the HTML response.
 
    Default value is 0 (auto set to 1/3 of the size of the configured pkg
    mem).
 
    Example 1.2. Set xhttp_rpc_buf_size parameter
 ...
-modparam("xhttp", "xhttp_rpc_buf_size", )
+modparam("xhttp", "xhttp_rpc_buf_size", 1024)
 ...
 
 4. Functions

+ 2 - 2
modules/xhttp_rpc/doc/xhttp_rpc_admin.xml

@@ -112,7 +112,7 @@ modparam("xhttp_rpc", "xhttp_rpc_root", "http_rpc")
 	<section>
 		<title><varname>xhttp_rpc_buf_size</varname> (str)</title>
 		<para>
-			Specifies the maximum length of the buffer used
+			Specifies the maximum length of the buffer (in bytes) used
 			to write the RPC reply information in order to
 			build the HTML response.
 		</para>
@@ -125,7 +125,7 @@ modparam("xhttp_rpc", "xhttp_rpc_root", "http_rpc")
 		<title>Set <varname>xhttp_rpc_buf_size</varname> parameter</title>
 		<programlisting format="linespecific">
 ...
-modparam("xhttp", "xhttp_rpc_buf_size", )
+modparam("xhttp", "xhttp_rpc_buf_size", 1024)
 ...
 </programlisting>
 		</example>