From 57653added992b3aa40f35b11d635b72e2b6b16c Mon Sep 17 00:00:00 2001 From: koichik Date: Sat, 7 Jan 2012 06:44:35 +0100 Subject: [PATCH] docs: small changes. --- doc/api/http.markdown | 2 +- doc/api/net.markdown | 7 ++++--- doc/api/tls.markdown | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/api/http.markdown b/doc/api/http.markdown index 2c9342ff8..dd3765f98 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -759,7 +759,7 @@ The response trailers object. Only populated after the 'end' event. Set the encoding for the response body. Either `'utf8'`, `'ascii'`, or `'base64'`. Defaults to `null`, which means that the `'data'` event will emit -a `Buffer` object.. +a `Buffer` object. ### response.pause() diff --git a/doc/api/net.markdown b/doc/api/net.markdown index 1e3dfbdd4..6b4ef5e38 100644 --- a/doc/api/net.markdown +++ b/doc/api/net.markdown @@ -131,9 +131,10 @@ would be to wait a second and then try again. This can be done with Start a UNIX socket server listening for connections on the given `path`. -This function is asynchronous. The last parameter `listeningListener` will be -called when the server has been bound. -See also ['listening'](#event_listening_) event. +This function is asynchronous. When the server has been bound, +['listening'](#event_listening_) event will be emitted. +the last parameter `listeningListener` will be added as an listener for the +['listening'](#event_listening_) event. #### server.pause(msecs) diff --git a/doc/api/tls.markdown b/doc/api/tls.markdown index 8db219008..05f015162 100644 --- a/doc/api/tls.markdown +++ b/doc/api/tls.markdown @@ -237,7 +237,7 @@ server, you unauthorized connections may be accepted. SNI. -### Event: 'clientError' +#### Event: 'clientError' `function (exception) { }`