diff options
author | Diego Nehab <diego.nehab@gmail.com> | 2012-04-23 00:18:45 +0800 |
---|---|---|
committer | Diego Nehab <diego.nehab@gmail.com> | 2012-04-23 00:18:45 +0800 |
commit | f960b3872a668ed1b53bd50c5b6a708367332f3c (patch) | |
tree | e82a1b113ed40d70afae36d230b6a6048e1d9fab /doc/socket.html | |
parent | f37e0260261f7691246429d227cf7124c291e8b1 (diff) | |
download | luasocket-f960b3872a668ed1b53bd50c5b6a708367332f3c.tar.gz luasocket-f960b3872a668ed1b53bd50c5b6a708367332f3c.tar.bz2 luasocket-f960b3872a668ed1b53bd50c5b6a708367332f3c.zip |
Making progress toward a release
Documented headers.lua
Update copyright date everywhere
Remove RCSID from files
Move version back to 2.1 rather than 2.1.1
Fixed url package to support ipv6 hosts
Changed "domain" to "family" in tcp and udp structures
Implemented getfamily methods
Diffstat (limited to 'doc/socket.html')
-rw-r--r-- | doc/socket.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/socket.html b/doc/socket.html index 2267b4a..dcf8b61 100644 --- a/doc/socket.html +++ b/doc/socket.html | |||
@@ -112,6 +112,29 @@ t = socket.gettime() | |||
112 | print(socket.gettime() - t .. " seconds elapsed") | 112 | print(socket.gettime() - t .. " seconds elapsed") |
113 | </pre> | 113 | </pre> |
114 | 114 | ||
115 | <!-- socket.headers ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | ||
116 | |||
117 | <p class=name id="headers.canonic"> | ||
118 | socket.headers.<b>canonic</b></p> | ||
119 | |||
120 | <p> The <tt>socket.headers.canonic</tt> table | ||
121 | is used by the HTTP and SMTP modules to translate from | ||
122 | lowercase field names back into their canonic | ||
123 | capitalization. When a lowercase field name exists as a key | ||
124 | in this table, the associated value is substituted in | ||
125 | whenever the field name is sent out. | ||
126 | </p> | ||
127 | |||
128 | <p> | ||
129 | You can obtain the <tt>headers</tt> namespace if case run-time | ||
130 | modifications are required by running: | ||
131 | </p> | ||
132 | |||
133 | <pre class=example> | ||
134 | -- loads the headers module | ||
135 | local headers = require("headers") | ||
136 | </pre> | ||
137 | |||
115 | <!-- newtry +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 138 | <!-- newtry +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
116 | 139 | ||
117 | <p class=name id=newtry> | 140 | <p class=name id=newtry> |