diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/http.html | 8 | ||||
-rw-r--r-- | doc/ltn12.html | 10 | ||||
-rw-r--r-- | doc/reference.html | 3 | ||||
-rw-r--r-- | doc/tcp.html | 6 |
4 files changed, 23 insertions, 4 deletions
diff --git a/doc/http.html b/doc/http.html index 3b7a8b1..78f785a 100644 --- a/doc/http.html +++ b/doc/http.html | |||
@@ -135,7 +135,8 @@ http.<b>request{</b><br> | |||
135 | [step = <i>LTN12 pump step</i>,]<br> | 135 | [step = <i>LTN12 pump step</i>,]<br> |
136 | [proxy = <i>string</i>,]<br> | 136 | [proxy = <i>string</i>,]<br> |
137 | [redirect = <i>boolean</i>,]<br> | 137 | [redirect = <i>boolean</i>,]<br> |
138 | [create = <i>function</i>]<br> | 138 | [create = <i>function</i>,]<br> |
139 | [maxredirects = <i>number</i>]<br> | ||
139 | <b>}</b> | 140 | <b>}</b> |
140 | </p> | 141 | </p> |
141 | 142 | ||
@@ -185,6 +186,7 @@ Defaults to the LTN12 <tt>pump.step</tt> function. | |||
185 | function from automatically following 301 or 302 server redirect messages; | 186 | function from automatically following 301 or 302 server redirect messages; |
186 | <li><tt>create</tt>: An optional function to be used instead of | 187 | <li><tt>create</tt>: An optional function to be used instead of |
187 | <a href=tcp.html#socket.tcp><tt>socket.tcp</tt></a> when the communications socket is created. | 188 | <a href=tcp.html#socket.tcp><tt>socket.tcp</tt></a> when the communications socket is created. |
189 | <li><tt>maxredirects</tt>: An optional number specifying the maximum number of redirects to follow. Defaults to <tt>5</tt> if not specified. A boolean <tt>false</tt> value means no maximum (unlimited). | ||
188 | </ul> | 190 | </ul> |
189 | 191 | ||
190 | <p class=return> | 192 | <p class=return> |
@@ -324,8 +326,8 @@ r, c = http.request { | |||
324 | </p> | 326 | </p> |
325 | <p> | 327 | <p> |
326 | <small> | 328 | <small> |
327 | Last modified by Diego Nehab on <br> | 329 | Last modified by Eric Westbrook on <br> |
328 | Thu Apr 20 00:25:26 EDT 2006 | 330 | Sat Feb 23 19:09:42 UTC 2019 |
329 | </small> | 331 | </small> |
330 | </p> | 332 | </p> |
331 | </center> | 333 | </center> |
diff --git a/doc/ltn12.html b/doc/ltn12.html index 54e66fb..ee2502f 100644 --- a/doc/ltn12.html +++ b/doc/ltn12.html | |||
@@ -405,6 +405,16 @@ Creates and returns a source that produces the contents of a | |||
405 | <tt>string</tt>, chunk by chunk. | 405 | <tt>string</tt>, chunk by chunk. |
406 | </p> | 406 | </p> |
407 | 407 | ||
408 | <!-- table +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | ||
409 | |||
410 | <p class=name id="source.table"> | ||
411 | ltn12.source.<b>table(</b>table<b>)</b> | ||
412 | </p> | ||
413 | |||
414 | <p class=description> | ||
415 | Creates and returns a source that produces the numerically-indexed values of a <tt>table</tt> successively beginning at 1. The source returns nil (end-of-stream) whenever a nil value is produced by the current index, which proceeds forward regardless. | ||
416 | </p> | ||
417 | |||
408 | <!-- footer +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 418 | <!-- footer +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
409 | 419 | ||
410 | <div class=footer> | 420 | <div class=footer> |
diff --git a/doc/reference.html b/doc/reference.html index 287dc19..163a8a2 100644 --- a/doc/reference.html +++ b/doc/reference.html | |||
@@ -99,7 +99,8 @@ Support, Manual"> | |||
99 | <a href="ltn12.html#source.error">error</a>, | 99 | <a href="ltn12.html#source.error">error</a>, |
100 | <a href="ltn12.html#source.file">file</a>, | 100 | <a href="ltn12.html#source.file">file</a>, |
101 | <a href="ltn12.html#source.simplify">simplify</a>, | 101 | <a href="ltn12.html#source.simplify">simplify</a>, |
102 | <a href="ltn12.html#source.string">string</a>. | 102 | <a href="ltn12.html#source.string">string</a>, |
103 | <a href="ltn12.html#source.table">table</a>. | ||
103 | </blockquote> | 104 | </blockquote> |
104 | </blockquote> | 105 | </blockquote> |
105 | 106 | ||
diff --git a/doc/tcp.html b/doc/tcp.html index c6c6eb2..6050a5f 100644 --- a/doc/tcp.html +++ b/doc/tcp.html | |||
@@ -477,6 +477,12 @@ used in validating addresses supplied in a call to | |||
477 | <li> '<tt>tcp-nodelay</tt>': Setting this option to <tt>true</tt> | 477 | <li> '<tt>tcp-nodelay</tt>': Setting this option to <tt>true</tt> |
478 | disables the Nagle's algorithm for the connection; | 478 | disables the Nagle's algorithm for the connection; |
479 | 479 | ||
480 | <li> '<tt>tcp-keepidle</tt>': value in seconds for <tt>TCP_KEEPIDLE</tt> Linux only!! | ||
481 | |||
482 | <li> '<tt>tcp-keepcnt</tt>': value for <tt>TCP_KEEPCNT</tt> Linux only!! | ||
483 | |||
484 | <li> '<tt>tcp-keepintvl</tt>': value for <tt>TCP_KEEPINTVL</tt> Linux only!! | ||
485 | |||
480 | <li> '<tt>ipv6-v6only</tt>': | 486 | <li> '<tt>ipv6-v6only</tt>': |
481 | Setting this option to <tt>true</tt> restricts an <tt>inet6</tt> socket to | 487 | Setting this option to <tt>true</tt> restricts an <tt>inet6</tt> socket to |
482 | sending and receiving only IPv6 packets. | 488 | sending and receiving only IPv6 packets. |