Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
Fixes #2193.
  • Loading branch information
shama authored and koichik committed Nov 26, 2011
1 parent 3a16064 commit 34f34e4
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion doc/api/buffers.markdown
Expand Up @@ -511,4 +511,4 @@ given it will fill the entire buffer.
### INSPECT_MAX_BYTES

How many bytes will be returned when `buffer.inspect()` is called. This can
be overriden by user modules.
be overridden by user modules.
2 changes: 1 addition & 1 deletion doc/api/child_processes.markdown
Expand Up @@ -204,7 +204,7 @@ This is a special case of the `spawn()` functionality for spawning Node
processes. In addition to having all the methods in a normal ChildProcess
instance, the returned object has a communication channel built-in. The
channel is written to with `child.send(message, [sendHandle])` and messages
are recieved by a `'message'` event on the child.
are received by a `'message'` event on the child.

For example:

Expand Down
4 changes: 2 additions & 2 deletions doc/api/http.markdown
Expand Up @@ -385,7 +385,7 @@ Options:

- `host`: A domain name or IP address of the server to issue the request to.
Defaults to `'localhost'`.
- `hostname`: To support `url.parse()` `hostname` is prefered over `host`
- `hostname`: To support `url.parse()` `hostname` is preferred over `host`
- `port`: Port of remote server. Defaults to 80.
- `socketPath`: Unix Domain Socket (use one of host:port or socketPath)
- `method`: A string specifying the HTTP request method. Defaults to `'GET'`.
Expand Down Expand Up @@ -453,7 +453,7 @@ There are a few special headers that should be noted.
and listen for the `continue` event. See RFC2616 Section 8.2.3 for more
information.

* Sending an Authorization header will override useing the `auth` option
* Sending an Authorization header will override using the `auth` option
to compute basic authentication.

## http.get(options, callback)
Expand Down
6 changes: 3 additions & 3 deletions doc/api/https.markdown
Expand Up @@ -10,7 +10,7 @@ This class is a subclass of `tls.Server` and emits events same as

## https.createServer(options, [requestListener])

Returns a new HTTPS web server object. The `options` is similer to
Returns a new HTTPS web server object. The `options` is similar to
`tls.createServer()`. The `requestListener` is a function which is
automatically added to the `'request'` event.

Expand Down Expand Up @@ -70,7 +70,7 @@ The options argument has the following options

- `host`: A domain name or IP address of the server to issue the request to.
Defaults to `'localhost'`.
- `hostname`: To support `url.parse()` `hostname` is prefered over `host`
- `hostname`: To support `url.parse()` `hostname` is preferred over `host`
- `port`: Port of remote server. Defaults to 443.
- `method`: A string specifying the HTTP request method. Defaults to `'GET'`.
- `path`: Request path. Defaults to `'/'`. Should include query string if any.
Expand Down Expand Up @@ -154,7 +154,7 @@ Example:

## https.Agent

An Agent object for HTTPS similer to [http.Agent](http.html#http.Agent).
An Agent object for HTTPS similar to [http.Agent](http.html#http.Agent).
See [https.request()](#https.request) for more information.


Expand Down
2 changes: 1 addition & 1 deletion doc/api/modules.markdown
Expand Up @@ -304,7 +304,7 @@ Where `$HOME` is the user's home directory, and `$PREFIX` is node's
configured `installPrefix`.

These are mostly for historic reasons. You are highly encouraged to
place your dependencies localy in `node_modules` folders. They will be
place your dependencies locally in `node_modules` folders. They will be
loaded faster, and more reliably.

### Accessing the main module
Expand Down
4 changes: 2 additions & 2 deletions doc/api/stdio.markdown
Expand Up @@ -11,9 +11,9 @@ Prints to stdout with newline. This function can take multiple arguments in a

console.log('count: %d', count);

If formating elements are not found in the first string then `util.inspect`
If formatting elements are not found in the first string then `util.inspect`
is used on each argument.
See [util.format()](util.html#util.format) for more infomation.
See [util.format()](util.html#util.format) for more information.

### console.info()

Expand Down
6 changes: 3 additions & 3 deletions doc/api/tls.markdown
Expand Up @@ -122,7 +122,7 @@ defaults to `localhost`.) `options` should be an object which specifies
- `NPNProtocols`: An array of string or `Buffer` containing supported NPN
protocols. `Buffer` should have following format: `0x05hello0x05world`,
where first byte is next protocol name's length. (Passing array should
usually be much simplier: `['hello', 'world']`.)
usually be much simpler: `['hello', 'world']`.)

- `servername`: Servername for SNI (Server Name Indication) TLS extension.

Expand Down Expand Up @@ -173,7 +173,7 @@ thereafter.

### NPN and SNI

NPN (Next Protocol Negotitation) and SNI (Server Name Indication) are TLS
NPN (Next Protocol Negotiation) and SNI (Server Name Indication) are TLS
handshake extensions allowing you:

* NPN - to use one TLS server for multiple protocols (HTTP, SPDY)
Expand Down Expand Up @@ -309,7 +309,7 @@ becomes available only when `cleartextStream.authorized === false`.

#### cleartextStream.getPeerCertificate()

Returns an object representing the peer's certicicate. The returned object has
Returns an object representing the peer's certificate. The returned object has
some properties corresponding to the field of the certificate.

Example:
Expand Down

0 comments on commit 34f34e4

Please sign in to comment.