We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99cb362 commit d6bd78fCopy full SHA for d6bd78f
doc/api/net.md
@@ -998,6 +998,16 @@ If `timeout` is 0, then the existing idle timeout is disabled.
998
The optional `callback` parameter will be added as a one-time listener for the
999
[`'timeout'`][] event.
1000
1001
+### `socket.timeout`
1002
+<!-- YAML
1003
+added: v10.7.0
1004
+-->
1005
+
1006
+* {number|undefined}
1007
1008
+The socket timeout in milliseconds as set by [`socket.setTimeout()`][].
1009
+It is `undefined` if a timeout has not been set.
1010
1011
### `socket.unref()`
1012
<!-- YAML
1013
added: v0.9.1
0 commit comments