diff options
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r-- | doc/api/http2.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md index 349e2b9b710..ebb89c1bd4c 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -217,6 +217,16 @@ session.on('localSettings', (settings) => { }); ``` +#### Event: 'ping' +<!-- YAML +added: REPLACEME +--> + +* `payload` {Buffer} The `PING` frame 8-byte payload + +The `'ping'` event is emitted whenever a `PING` frame is received from the +connected peer. + #### Event: 'remoteSettings' <!-- YAML added: v8.4.0 |