Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 663b103

Browse filesBrowse files
Trottevanlucas
authored andcommitted
doc: fix minor style issues in http.md
PR-URL: #7528 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 6c4d459 commit 663b103
Copy full SHA for 663b103

File tree

Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Open diff view settings
Collapse file

‎doc/api/http.md‎

Copy file name to clipboardExpand all lines: doc/api/http.md
+9-9Lines changed: 9 additions & 9 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -676,8 +676,8 @@ already been bound to a port or domain socket.
676676

677677
Listening on a file descriptor is not supported on Windows.
678678

679-
This function is asynchronous. The last parameter `callback` will be added as
680-
a listener for the `'listening'` event. See also [`net.Server.listen()`][].
679+
This function is asynchronous. `callback` will be added as a listener for the
680+
`'listening'` event. See also [`net.Server.listen()`][].
681681

682682
Returns `server`.
683683

@@ -688,8 +688,8 @@ added: v0.1.90
688688

689689
Start a UNIX socket server listening for connections on the given `path`.
690690

691-
This function is asynchronous. The last parameter `callback` will be added as
692-
a listener for the `'listening'` event. See also [`net.Server.listen(path)`][].
691+
This function is asynchronous. `callback` will be added as a listener for the
692+
`'listening'` event. See also [`net.Server.listen(path)`][].
693693

694694
### server.listen(port[, hostname][, backlog][, callback])
695695
<!-- YAML
@@ -708,8 +708,8 @@ The actual length will be determined by your OS through sysctl settings such as
708708
`tcp_max_syn_backlog` and `somaxconn` on linux. The default value of this
709709
parameter is 511 (not 512).
710710

711-
This function is asynchronous. The last parameter `callback` will be added as
712-
a listener for the `'listening'` event. See also [`net.Server.listen(port)`][].
711+
This function is asynchronous. `callback` will be added as a listener for the
712+
`'listening'` event. See also [`net.Server.listen(port)`][].
713713

714714
### server.listening
715715
<!-- YAML
@@ -1004,8 +1004,8 @@ be called multiple times to provide successive parts of the body.
10041004

10051005
`chunk` can be a string or a buffer. If `chunk` is a string,
10061006
the second parameter specifies how to encode it into a byte stream.
1007-
By default the `encoding` is `'utf8'`. The last parameter `callback`
1008-
will be called when this chunk of data is flushed.
1007+
By default the `encoding` is `'utf8'`. `callback` will be called when this chunk
1008+
of data is flushed.
10091009

10101010
**Note**: This is the raw HTTP body and has nothing to do with
10111011
higher-level multi-part body encodings that may be used.
@@ -1290,7 +1290,7 @@ $ node
12901290
}
12911291
```
12921292

1293-
If you would like to extract the params from the query string,
1293+
If you would like to extract the parameters from the query string,
12941294
you can use the `require('querystring').parse` function, or pass
12951295
`true` as the second argument to `require('url').parse`. Example:
12961296

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.