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 assert(!this.aborted);
2106 assert(this.completed);
2107 if (channels.headers.hasSubscribers) {
2108 __privateMethod(this, _publishUpgradeHeaders, publishUpgradeHeaders_fn).call(this, statusCode, parseHeaders(headers), statusText);
2109 }
2110 __privateMethod(this, _publishUpgradeTrailers, publishUpgradeTrailers_fn).call(this);
2111 }
2112 /**
2113 * @param {Error} error

Callers

nothing calls this directly

Calls 1

processHeaderFunction · 0.70

Tested by

no test coverage detected