| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -676,8 +676,8 @@ already been bound to a port or domain socket. | |||
| 676 | 676 | ||
| 677 | 677 | Listening on a file descriptor is not supported on Windows. | |
| 678 | 678 | ||
| 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()`][]. | ||
| 681 | 681 | ||
| 682 | 682 | Returns `server`. | |
| 683 | 683 | ||
@@ -688,8 +688,8 @@ added: v0.1.90 | |||
| 688 | 688 | ||
| 689 | 689 | Start a UNIX socket server listening for connections on the given `path`. | |
| 690 | 690 | ||
| 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)`][]. | ||
| 693 | 693 | ||
| 694 | 694 | ### server.listen(port[, hostname][, backlog][, callback]) | |
| 695 | 695 | <!-- YAML | |
@@ -708,8 +708,8 @@ The actual length will be determined by your OS through sysctl settings such as | |||
| 708 | 708 | `tcp_max_syn_backlog` and `somaxconn` on linux. The default value of this | |
| 709 | 709 | parameter is 511 (not 512). | |
| 710 | 710 | ||
| 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)`][]. | ||
| 713 | 713 | ||
| 714 | 714 | ### server.listening | |
| 715 | 715 | <!-- YAML | |
@@ -1004,8 +1004,8 @@ be called multiple times to provide successive parts of the body. | |||
| 1004 | 1004 | ||
| 1005 | 1005 | `chunk` can be a string or a buffer. If `chunk` is a string, | |
| 1006 | 1006 | 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. | ||
| 1009 | 1009 | ||
| 1010 | 1010 | **Note**: This is the raw HTTP body and has nothing to do with | |
| 1011 | 1011 | higher-level multi-part body encodings that may be used. | |
@@ -1290,7 +1290,7 @@ $ node | |||
| 1290 | 1290 | } | |
| 1291 | 1291 | ``` | |
| 1292 | 1292 | ||
| 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, | ||
| 1294 | 1294 | you can use the `require('querystring').parse` function, or pass | |
| 1295 | 1295 | `true` as the second argument to `require('url').parse`. Example: | |
| 1296 | 1296 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments