summaryrefslogtreecommitdiff
path: root/doc/api/https.markdown
diff options
context:
space:
mode:
authorAndreas Madsen <amwebdk@gmail.com>2012-10-08 19:10:29 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2012-10-08 22:58:11 +0200
commitbe5a8e24c2fccf61133a7a6a3273a0d08e6b63f7 (patch)
treef8dd7e3308864784b93e877c1bac795abe940a2b /doc/api/https.markdown
parent8c5f269f908c759d934a1da42dd491bff67c1a37 (diff)
downloadnode-be5a8e24c2fccf61133a7a6a3273a0d08e6b63f7.tar.gz
doc: consistent use of the callback argument
Diffstat (limited to 'doc/api/https.markdown')
-rw-r--r--doc/api/https.markdown13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/api/https.markdown b/doc/api/https.markdown
index e2c9862a0..f91948e59 100644
--- a/doc/api/https.markdown
+++ b/doc/api/https.markdown
@@ -46,6 +46,17 @@ Or
res.end("hello world\n");
}).listen(8000);
+
+### server.listen(port, [host], [backlog], [callback])
+### server.listen(path, [callback])
+### server.listen(handle, [callback])
+
+See [http.listen()][] for details.
+
+### server.close([callback])
+
+See [http.close()][] for details.
+
## https.request(options, callback)
Makes a request to a secure web server.
@@ -193,6 +204,8 @@ Global instance of [https.Agent][] for all HTTPS client requests.
[Agent]: #https_class_https_agent
[globalAgent]: #https_https_globalagent
+[http.listen()]: http.html#http_server_listen_port_hostname_backlog_callback
+[http.close()]: http.html#http_server_close_callback
[http.Agent]: http.html#http_class_http_agent
[http.request()]: http.html#http_http_request_options_callback
[https.Agent]: #https_class_https_agent