diff --git a/doc/api/http2.md b/doc/api/http2.md index 205c0dc85b8102..698f1bf2d87e58 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -222,6 +222,16 @@ session.on('localSettings', (settings) => { }); ``` +#### Event: 'ping' + + +* `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'