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

Function onSettings

lib/internal/http2/core.js:634–642  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

632// Called when the remote peer settings have been updated.
633// Resets the cached settings.
634function onSettings() {
635 const session = this[kOwner];
636 if (session.destroyed)
637 return;
638 session[kUpdateTimer]();
639 debugSessionObj(session, 'new settings received');
640 session[kRemoteSettings] = undefined;
641 session.emit('remoteSettings', session.remoteSettings);
642}
643
644// If the stream exists, an attempt will be made to emit an event
645// on the stream object itself. Otherwise, forward it on to the

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…