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

Method getHeaders

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

Source from the content-addressed store, hash-verified

603 }
604
605 getHeaders() {
606 const headers = { __proto__: null };
607 return ObjectAssign(headers, this[kHeaders]);
608 }
609
610 hasHeader(name) {
611 validateString(name, 'name');

Calls 1

ObjectAssignFunction · 0.85

Tested by

no test coverage detected