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

Function onAltSvc

lib/internal/http2/core.js:685–693  ·  view source on GitHub ↗
(stream, origin, alt)

Source from the content-addressed store, hash-verified

683}
684
685function onAltSvc(stream, origin, alt) {
686 const session = this[kOwner];
687 if (session.destroyed)
688 return;
689 debugSessionObj(session, 'altsvc received: stream: %d, origin: %s, alt: %s',
690 stream, origin, alt);
691 session[kUpdateTimer]();
692 session.emit('altsvc', alt, origin, stream);
693}
694
695function initOriginSet(session) {
696 let originSet = session[kState].originSet;

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…