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

Function submitSettings

lib/internal/http2/core.js:905–914  ·  view source on GitHub ↗
(settings, callback)

Source from the content-addressed store, hash-verified

903
904// Submits a SETTINGS frame to be sent to the remote peer.
905function submitSettings(settings, callback) {
906 if (this.destroyed)
907 return;
908 debugSessionObj(this, 'submitting settings');
909 this[kUpdateTimer]();
910 updateSettingsBuffer(settings);
911 if (!this[kHandle].settings(settingsCallback.bind(this, callback))) {
912 this.destroy(new ERR_HTTP2_MAX_PENDING_SETTINGS_ACK());
913 }
914}
915
916// Submit a GOAWAY frame to be sent to the remote peer.
917// If the lastStreamID is set to <= 0, then the lastProcStreamID will

Callers

nothing calls this directly

Calls 5

debugSessionObjFunction · 0.85
updateSettingsBufferFunction · 0.85
settingsMethod · 0.80
bindMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected