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

Method flushHeaders

lib/internal/http2/compat.js:707–711  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

705 }
706
707 flushHeaders() {
708 const state = this[kState];
709 if (!state.closed && !this[kStream].headersSent)
710 this.writeHead(state.statusCode);
711 }
712
713 writeHead(statusCode, statusMessage, headers) {
714 const state = this[kState];

Calls 1

writeHeadMethod · 0.95

Tested by

no test coverage detected