MCPcopy Create free account
hub / github.com/angular/dev-infra / addHeader

Method addHeader

github-actions/browserstack/set-browserstack-env.js:2107–2110  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

2105 }
2106 }
2107 addHeader(key, value) {
2108 processHeader(this, key, value);
2109 return this;
2110 }
2111 };
2112 function processHeader(request, key, val) {
2113 if (val && (typeof val === "object" && !Array.isArray(val))) {

Callers

nothing calls this directly

Calls 1

processHeaderFunction · 0.70

Tested by

no test coverage detected