aboutsummaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index 058958517d..07ca77e30f 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -311,6 +311,7 @@ added: v8.4.0
After the `http2session.setTimeout()` method is used to set the timeout period
for this `Http2Session`, the `'timeout'` event is emitted if there is no
activity on the `Http2Session` after the configured number of milliseconds.
+Its listener does not expect any arguments.
```js
session.setTimeout(2000);