diff --git a/docs/ftp.html b/docs/ftp.html index 7f7da2e..2c57fc8 100644 --- a/docs/ftp.html +++ b/docs/ftp.html @@ -55,7 +55,7 @@ protocol. For that, check the implementation.
To really benefit from this module, a good understanding of - + LTN012, Filters sources and sinks is necessary.
@@ -122,7 +122,7 @@ expects at least the fields host, sink, and one of argument or path (argument takes precedence). Host is the server to connect to. Sink is the simple -LTN12 +LTN12 sink that will receive the downloaded data. Argument or path give the target path to the resource in the server. The optional arguments are the following: @@ -136,7 +136,7 @@ authentication. Defaults to "ftp:anonymous@anonymous.org";
@@ -144,7 +144,7 @@ http.request{
The request function has two forms. The simple form downloads
a URL using the GET or POST method and is based
on strings. The generic form performs any HTTP method and is
-LTN12 based.
+LTN12 based.
@@ -158,7 +158,7 @@ in the url. Otherwise, it performs a GET in the
If the first argument is instead a table, the most important fields are the url and the simple -LTN12 +LTN12 sink that will receive the downloaded content. Any part of the url can be overridden by including the appropriate field in the request table. @@ -172,13 +172,13 @@ following:
All functionality provided by the MIME module follows the ideas presented in - + LTN012, Filters sources and sinks.
diff --git a/docs/smtp.html b/docs/smtp.html index 787d0b1..23e3184 100644 --- a/docs/smtp.html +++ b/docs/smtp.html @@ -57,7 +57,7 @@ of the MIME standard, but described mainly in RFC 2046.In the description below, good understanding of LTN012, Filters +href="https://github.com/lunarmodules/luasocket/blob/master/ltn012.md"> LTN012, Filters sources and sinks and the MIME module is assumed. In fact, the SMTP module was the main reason for their creation.
@@ -122,7 +122,7 @@ smtp.message(mesgt)Returns a simple -LTN12 source that sends an SMTP message body, possibly multipart (arbitrarily deep). +LTN12 source that sends an SMTP message body, possibly multipart (arbitrarily deep).
@@ -155,7 +155,7 @@ multipart-mesgt = {
For a simple message, all that is needed is a set of headers
and the body. The message body can be given as a string
or as a simple
-LTN12
+LTN12
source. For multipart messages, the body is a table that
recursively defines each part as an independent message, plus an optional
preamble and epilogue.
@@ -163,7 +163,7 @@ recursively defines each part as an independent message, plus an optional
The function returns a simple -LTN12 +LTN12 source that produces the message contents as defined by mesgt, chunk by chunk. Hopefully, the following @@ -264,7 +264,7 @@ The sender is given by the e-mail address in the from field. address, or a string in case there is just one recipient. The contents of the message are given by a simple -LTN12 +LTN12 source. Several arguments are optional:
Creates an -LTN12 +LTN12 sink from a stream socket object.
@@ -386,7 +386,7 @@ socket.source(mode, socket [, length])Creates an -LTN12 +LTN12 source from a stream socket object.