16 Commits

Author SHA1 Message Date
Ryan
b9f3ae23cf Fix some typos in the docs 2009-06-23 10:26:17 +02:00
Ryan
f17b76afa4 Fix up docs. 2009-06-21 23:27:36 +02:00
Ryan
da03a02a98 Add documentation for node.Process 2009-06-21 14:37:25 +02:00
Ryan
2b557c467f Namespace trimming: remove node.constants 2009-06-18 14:58:17 +02:00
Ryan
3b05cf260e Add "opening" readyState for the resolve period. 2009-06-16 15:50:52 +02:00
Ryan
916b9ca715 Add Request objects on the HTTP server can be interrupted. 2009-06-12 17:37:43 +02:00
Ryan
f6a7fe2657 Implement onExit() hook for modules.
onExit() is similar to the onLoad() callback. onExit() is called on each
module just before the process exits. This can be used to check state in
unit tests, but not to perform I/O. The process will forcibly exit as soon
as all of the onExit callbacks are made.
2009-06-08 16:17:33 +02:00
Ryan
b6fe4aec50 Module system refactor
There is one major API change in the refactor: filename extensions are now
required when requiring or including modules.

Added extra test to test-module-loading.js.
2009-06-08 15:34:15 +02:00
Ryan
887f056923 Do not assume transfer-encoding: chunked as default on requests.
If users do not send transfer-encoding or content-length headers, then I
will not add any additional. Content-Length: 0 is assumed if there aren't
other headers and chunked encoding is rare.
2009-06-06 23:57:15 +02:00
Ryan
5558bc4e6e Add connection.remoteAddress for server-side node.tcp.Connections. 2009-06-05 20:15:54 +02:00
Ryan
5170823572 Documentation for connection.connect() 2009-06-05 15:18:05 +02:00
Urban Hafner
565becb8ad XHTML compliant HTML and a few spelling fixes 2009-06-05 13:23:51 +03:00
Ryan
8cfdd326a8 Add "had_error" argument to the "onDisconnect" in node.tcp.Client
This is a boolean value which allows one to detect if the socket was closed
due to errors. There is not yet a way to look up the actual error code.
2009-06-04 12:33:19 +02:00
Ryan
8bf2a2fa55 Rename req.uri.queryKey to req.uri.params. More familar to rails users. 2009-06-01 20:59:33 +02:00
Ryan
1d8c4659d1 Just twiddling with the webpage 2009-05-27 15:42:16 +02:00
Ryan
b3338273b4 Reorganize the website into two pages. 2009-05-27 14:53:36 +02:00