MCPcopy Index your code
hub / github.com/nodejs/node / onPing

Function onPing

lib/internal/http2/core.js:579–586  ·  view source on GitHub ↗
(payload)

Source from the content-addressed store, hash-verified

577}
578
579function onPing(payload) {
580 const session = this[kOwner];
581 if (session.destroyed)
582 return;
583 session[kUpdateTimer]();
584 debugSessionObj(session, 'new ping received');
585 session.emit('ping', payload);
586}
587
588// Called when the stream is closed either by sending or receiving an
589// RST_STREAM frame, or through a natural end-of-stream.

Callers

nothing calls this directly

Calls 2

debugSessionObjFunction · 0.85
emitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…