| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0ed0a30 commit a3dd30d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -755,8 +755,17 @@ changes: | |||
| 755 | 755 | automatically end the writable side when the readable side ends. See | |
| 756 | 756 | [`net.createServer()`][] and the [`'end'`][] event for details. **Default:** | |
| 757 | 757 | `false`. | |
| 758 | + * `blockList` {net.BlockList} `blockList` can be used for disabling outbound | ||
| 759 | + access to specific IP addresses, IP ranges, or IP subnets. | ||
| 758 | 760 | * `fd` {number} If specified, wrap around an existing socket with | |
| 759 | 761 | the given file descriptor, otherwise a new socket will be created. | |
| 762 | + * `keepAlive` {boolean} If set to `true`, it enables keep-alive functionality on | ||
| 763 | + the socket immediately after the connection is established, similarly on what | ||
| 764 | + is done in [`socket.setKeepAlive()`][]. **Default:** `false`. | ||
| 765 | + * `keepAliveInitialDelay` {number} If set to a positive number, it sets the | ||
| 766 | + initial delay before the first keepalive probe is sent on an idle socket. **Default:** `0`. | ||
| 767 | + * `noDelay` {boolean} If set to `true`, it disables the use of Nagle's algorithm | ||
| 768 | + immediately after the socket is established. **Default:** `false`. | ||
| 760 | 769 | * `onread` {Object} If specified, incoming data is stored in a single `buffer` | |
| 761 | 770 | and passed to the supplied `callback` when data arrives on the socket. | |
| 762 | 771 | This will cause the streaming functionality to not provide any data. | |
@@ -1119,20 +1128,10 @@ For TCP connections, available `options` are: | |||
| 1119 | 1128 | `0` indicates that both IPv4 and IPv6 addresses are allowed. **Default:** `0`. | |
| 1120 | 1129 | * `hints` {number} Optional [`dns.lookup()` hints][]. | |
| 1121 | 1130 | * `host` {string} Host the socket should connect to. **Default:** `'localhost'`. | |
| 1122 | - * `keepAlive` {boolean} If set to `true`, it enables keep-alive functionality on | ||
| 1123 | - the socket immediately after the connection is established, similarly on what | ||
| 1124 | - is done in [`socket.setKeepAlive()`][]. **Default:** `false`. | ||
| 1125 | - * `keepAliveInitialDelay` {number} If set to a positive number, it sets the | ||
| 1126 | - initial delay before the first keepalive probe is sent on an idle socket. | ||
| 1127 | - **Default:** `0`. | ||
| 1128 | 1131 | * `localAddress` {string} Local address the socket should connect from. | |
| 1129 | 1132 | * `localPort` {number} Local port the socket should connect from. | |
| 1130 | 1133 | * `lookup` {Function} Custom lookup function. **Default:** [`dns.lookup()`][]. | |
| 1131 | - * `noDelay` {boolean} If set to `true`, it disables the use of Nagle's algorithm | ||
| 1132 | - immediately after the socket is established. **Default:** `false`. | ||
| 1133 | 1134 | * `port` {number} Required. Port the socket should connect to. | |
| 1134 | - * `blockList` {net.BlockList} `blockList` can be used for disabling outbound | ||
| 1135 | - access to specific IP addresses, IP ranges, or IP subnets. | ||
| 1136 | 1135 | ||
| 1137 | 1136 | For [IPC][] connections, available `options` are: | |
| 1138 | 1137 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments