Ben Noordhuis
ecf9f606c9
doc: add url.resolve() usage examples
Fixes #4913 .
12 years ago
Eugene Girshov
50ba0f27d9
doc: remove note about close event
12 years ago
Ben Noordhuis
22d3eff8f4
doc: add note about child process line buffering
Fixes #4808 .
12 years ago
Ben Noordhuis
3e2be6f39f
doc: clarify child_process.exec() stdio option
It only works for stdin, not stdout/stderr, for obvious reasons.
12 years ago
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)
12 years ago
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 .
12 years ago
Rick Yakubowski
5abde8161a
doc: fix typo in cluster module documentation
Fix a small typo in the cluster.settings documentation.
12 years ago
Jacob Gable
34131af606
doc: fix typo in crypto Hash.digest() note
Added the word 'has' to the sentence.
Closes #4652 .
12 years ago
Johannes Ewald
872cb0d7fa
doc: improve example of process.hrtime()
The example clarifies now that diff[0] * 1000000000 + diff[1] equals
the result in nanoseconds.
12 years ago
Ben Noordhuis
c79fd0e167
doc: remove broken require.extensions example
Fixes #4384 .
12 years ago
Ryunosuke SATO
83161455bd
doc: Fix missing link target to 'https.request()'
12 years ago
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 .
12 years ago
Francois Marier
44dd2c392a
doc: remove duplicate set of options
12 years ago
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.
12 years ago
Olivier Lalonde
626db18635
doc: child_process: document uid and gid spawn() options
12 years ago
isaacs
627f0d27e8
doc: Typo. s/arguemnt/argument/
12 years ago
Jan Lehnardt
a7b5938715
docs: fix copy and paste error
12 years ago
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 .
12 years ago
isaacs
99b2368a6c
doc: Reduce crypto stability to 2-Unstable
12 years ago
Andreas Madsen
be5a8e24c2
doc: consistent use of the callback argument
12 years ago
Nathan Rajlich
f826b3269d
doc: document the custom "inspect()" function behavior
Closes #3361 .
12 years ago
Alex Kocharin
bf0bc3565b
doc: better example for process.hrtime()
Fixes #3984 .
12 years ago
Ben Noordhuis
b0d04ffbd8
doc: stream: clarify meaning of 'drain' some more
Courtesy of Lee Coltrane (@coltrane ).
12 years ago
Ben Noordhuis
f624be4093
doc: stream: clarify meaning of 'drain' event
12 years ago
isaacs
b90c1502e5
doc: Correct stream.write fd mention
No streams actually work this way.
12 years ago
Adam Blackburn
d5e9895ce0
doc: put API table of contents in alphabetical order
12 years ago
Robin Lee
a08271c7a8
doc: fix three typos
12 years ago
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 .
12 years ago
Ben Noordhuis
4870a4e3da
doc: http: expand request.headers documentation
12 years ago
isaacs
1c2982b94f
Update doc and test for sunos/solaris switch
12 years ago
Pooya Karimian
0087bc6370
cluster.worker description and examples ere missing from the top level of docs
12 years ago
Atsuya Takagi
9f57e422cf
doc: fix typo in api/cluster
12 years ago
Ankur Oberoi
a57d31595d
doc: fix grammar errors
12 years ago
Nathan Rajlich
2d0c1da975
docs: fix syntax error in "https" example
12 years ago
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 .
12 years ago
Bert Belder
99ad52ecbe
doc: remote the "recommended modules" section
12 years ago
Ron Korving
2e1f2b535e
doc: fix typo in cluster example code
12 years ago
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 .
12 years ago
Ben Noordhuis
7c75ca7182
doc: cluster: setupMaster() can be called only once
12 years ago
Kyle Robinson Young
4ef808ec0a
doc: remove unused util from child_process
12 years ago
Kyle Robinson Young
bc7479d232
doc: fix typos in child_process
12 years ago
isaacs
4ff56aa15e
doc: util.pump is deprecated. Use Stream.pipe
12 years ago
Ben Noordhuis
9315377693
doc: improve cluster.workers documentation
12 years ago
Eugen Dueck
af699c47d1
doc: http: document res.write() `drain` return value
12 years ago
Bert Belder
9e2319f977
docs: remove unused require from example
Closes GH-3801
12 years ago
Ben Noordhuis
2eb6a62f4f
doc: document child_process.fork() limitation
12 years ago
isaacs
f8dab6acb6
doc: Remove timeout arg in child_process.fork
Fix #3784
12 years ago
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
12 years ago
koichik
bc30c90af6
doc: remove duplicate section
Fixes #3750 .
12 years ago
Ben Noordhuis
e8af340557
doc: advise *strongly* against uncaughtException
12 years ago