diff --git a/doc/api/net.md b/doc/api/net.md index 3bf9a68a8abf09..1eede088d7839d 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -914,6 +914,15 @@ If `timeout` is 0, then the existing idle timeout is disabled. The optional `callback` parameter will be added as a one-time listener for the [`'timeout'`][] event. +### `socket.timeout` + + +* {number} + +Gets the read-only socket timeout in milliseconds. + ### `socket.unref()`