From 7f5132ddc07e9c907288b3065fc851d8455fcdfa Mon Sep 17 00:00:00 2001 From: Stephen Cresswell <229672+cressie176@users.noreply.github.com> Date: Mon, 26 Sep 2022 17:40:04 +0100 Subject: [PATCH] Update channel_api.md --- channel_api.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/channel_api.md b/channel_api.md index c1132edb..177de50b 100644 --- a/channel_api.md +++ b/channel_api.md @@ -410,8 +410,10 @@ on the object supplied*; that is, not in the prototype chain. The socket options is useful for supplying certificates and so on for an SSL connection; see the [SSL guide][ssl-doc]. -The socket options may also include the key `noDelay`, with a boolean -value. If the value is `true`, this sets +The socket options may also include the keys `timeout` and `noDelay`. +`timeout` specifies the socket timeout in milliseconds while +establishing the connection and `noDelay` is a boolean value that +when `true` sets [`TCP_NODELAY`][wikipedia-nagling] on the underlying socket. ###### Client properties