Ben Noordhuis
3e2be6f39f
doc: clarify child_process.exec() stdio option
...
It only works for stdin, not stdout/stderr, for obvious reasons.
2013-02-14 19:42:14 +01:00
Dan Kohn
2e1ebbf2c5
doc: add prompt to fix repl_test.js example
...
Running repl.start without the prompt set produces this error:
repl.js:95
throw new Error('An options Object, or a prompt String are required');
^
Error: An options Object, or a prompt String are required
at new REPLServer (repl.js:95:11)
at Object.exports.start (repl.js:321:14)
at Object.<anonymous> (/Users/dan/Dropbox/Documents/dev/nextgen/repl_test.js:5:6)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
2013-02-13 16:40:27 +01:00
Ben Noordhuis
5fe05464cb
doc: don't suggest to reuse net.Socket objects
...
Using Socket.prototype.connect() to reconnect an existing Socket object
is not reliable. Users should just create a new Socket object.
See #4698 .
2013-02-05 12:50:48 +01:00
Rick Yakubowski
5abde8161a
doc: fix typo in cluster module documentation
...
Fix a small typo in the cluster.settings documentation.
2013-01-27 00:25:35 +01:00
Jacob Gable
34131af606
doc: fix typo in crypto Hash.digest() note
...
Added the word 'has' to the sentence.
Closes #4652 .
2013-01-24 12:42:53 -08:00
Johannes Ewald
872cb0d7fa
doc: improve example of process.hrtime()
...
The example clarifies now that diff[0] * 1000000000 + diff[1] equals
the result in nanoseconds.
2013-01-04 23:06:40 +01:00
Ben Noordhuis
c79fd0e167
doc: remove broken require.extensions example
...
Fixes #4384 .
2012-12-06 21:58:36 +01:00
Ryunosuke SATO
83161455bd
doc: Fix missing link target to 'https.request()'
2012-11-27 18:11:40 -08:00
Trevor Norris
bb867c0fa6
doc: Add lines about additonal uses of Buffer
...
That Buffers can be used with Typed Array Views and DataViews. Included
are a couple simple examples.
Closes #4257 .
2012-11-22 09:30:18 -08:00
Francois Marier
44dd2c392a
doc: remove duplicate set of options
2012-10-30 01:20:17 +01:00
Francois Marier
326bce91d6
doc: reflect hostname v. host preference in examples
...
The documentation for http.request and https.request states that
`hostname` is preferred over `host` so the code examples should
use that option name.
2012-10-29 20:34:03 +01:00
Olivier Lalonde
626db18635
doc: child_process: document uid and gid spawn() options
2012-10-24 01:24:00 +02:00
isaacs
627f0d27e8
doc: Typo. s/arguemnt/argument/
2012-10-16 10:59:23 -07:00
Jan Lehnardt
a7b5938715
docs: fix copy and paste error
2012-10-14 14:47:02 +02:00
Ben Noordhuis
4a23add90f
doc: rectify http.ClientResponse close/end events
...
* The 'close' event doesn't emit an error object.
* It's possible for a 'close' event to come after an 'end' event, contrary to
what the documentation said.
Fixes #4116 .
2012-10-13 15:17:51 +02:00
isaacs
99b2368a6c
doc: Reduce crypto stability to 2-Unstable
2012-10-11 08:32:46 -07:00
Andreas Madsen
be5a8e24c2
doc: consistent use of the callback argument
2012-10-08 22:58:11 +02:00
Nathan Rajlich
f826b3269d
doc: document the custom "inspect()" function behavior
...
Closes #3361 .
2012-10-05 16:48:13 -07:00
Alex Kocharin
bf0bc3565b
doc: better example for process.hrtime()
...
Fixes #3984 .
2012-10-03 22:18:33 +02:00
Ben Noordhuis
b0d04ffbd8
doc: stream: clarify meaning of 'drain' some more
...
Courtesy of Lee Coltrane (@coltrane).
2012-10-03 13:38:03 +02:00
Ben Noordhuis
f624be4093
doc: stream: clarify meaning of 'drain' event
2012-10-03 00:49:27 +02:00
isaacs
b90c1502e5
doc: Correct stream.write fd mention
...
No streams actually work this way.
2012-10-01 14:30:02 -07:00
Adam Blackburn
d5e9895ce0
doc: put API table of contents in alphabetical order
2012-09-25 14:38:36 +02:00
Robin Lee
a08271c7a8
doc: fix three typos
2012-09-17 16:05:53 +02:00
Ben Noordhuis
58a5bc1ec7
doc: fs: clarfify fs.watch() documentation
...
fs.watch() is implemented on all supported platforms but, depending on the
object being watched, doesn't always work reliably (or at all).
Fixes #4005 .
2012-09-12 17:08:32 +02:00
Ben Noordhuis
4870a4e3da
doc: http: expand request.headers documentation
2012-09-12 02:46:53 +02:00
isaacs
1c2982b94f
Update doc and test for sunos/solaris switch
2012-09-11 10:57:25 -07:00
Pooya Karimian
0087bc6370
cluster.worker description and examples ere missing from the top level of docs
2012-09-06 22:00:05 +02:00
Atsuya Takagi
9f57e422cf
doc: fix typo in api/cluster
2012-09-04 00:41:40 +02:00
Ankur Oberoi
a57d31595d
doc: fix grammar errors
2012-08-30 00:27:00 +02:00
Nathan Rajlich
2d0c1da975
docs: fix syntax error in "https" example
2012-08-24 16:11:55 -07:00
koichik
752ac320ae
https: make https.get() accept a URL
...
https.get() now accepts either a URL (as a string) or an options object.
Refs #2859 .
Fixes #3882 .
2012-08-24 16:56:06 +02:00
Bert Belder
99ad52ecbe
doc: remote the "recommended modules" section
2012-08-22 23:58:34 +02:00
Ron Korving
2e1f2b535e
doc: fix typo in cluster example code
2012-08-22 09:33:52 +02:00
Ben Noordhuis
badbd1af27
tls: update default cipher list
...
Update the default cipher list from RC4-SHA:AES128-SHA:AES256-SHA
to ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH
in order to mitigate BEAST attacks.
The documentation suggested AES256-SHA but unfortunately that's a CBC cipher
and therefore susceptible to attacks.
Fixes #3900 .
2012-08-21 22:27:13 +02:00
Ben Noordhuis
7c75ca7182
doc: cluster: setupMaster() can be called only once
2012-08-21 13:44:29 +02:00
Kyle Robinson Young
4ef808ec0a
doc: remove unused util from child_process
2012-08-12 00:08:43 +02:00
Kyle Robinson Young
bc7479d232
doc: fix typos in child_process
2012-08-06 00:13:56 +02:00
isaacs
4ff56aa15e
doc: util.pump is deprecated. Use Stream.pipe
2012-08-05 14:47:23 -07:00
Ben Noordhuis
9315377693
doc: improve cluster.workers documentation
2012-08-02 17:47:33 +02:00
Eugen Dueck
af699c47d1
doc: http: document res.write() drain return value
2012-08-01 01:45:09 +02:00
Bert Belder
9e2319f977
docs: remove unused require from example
...
Closes GH-3801
2012-07-31 21:38:58 +02:00
Ben Noordhuis
2eb6a62f4f
doc: document child_process.fork() limitation
2012-07-31 03:09:49 +02:00
isaacs
f8dab6acb6
doc: Remove timeout arg in child_process.fork
...
Fix #3784
2012-07-30 11:01:57 -07:00
Shigeki Ohtsu
5b37da2ac0
doc: fix domains example
...
Need `utf8` encoding for JSON.parse and fix to avoid JSON.parse error when only
one argument is passed in domain.bind
2012-07-30 19:15:46 +02:00
koichik
bc30c90af6
doc: remove duplicate section
...
Fixes #3750 .
2012-07-22 02:33:06 +09:00
Ben Noordhuis
e8af340557
doc: advise *strongly* against uncaughtException
2012-07-18 03:46:39 +02:00
Mike Morearty
19aa05fab8
doc: fix bug in child_process.spawn() sample code
2012-07-16 02:27:01 +02:00
Ivan Torres
8146f2e607
doc: clarify fs.symlink and fs.symlinkSync parameters
2012-07-10 16:36:08 +02:00
Justin Plock
fba1e48fae
doc: cluster: worker.pid is now worker.process.pid
2012-07-09 15:57:44 +02:00