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

Method set

github-actions/browserstack/set-browserstack-env.js:12329–12336  ·  view source on GitHub ↗

* @see https://fetch.spec.whatwg.org/#concept-header-list-set * @param {string} name * @param {string} value * @param {boolean} isLowerCase

(name, value, isLowerCase)

Source from the content-addressed store, hash-verified

12327 const dualStack = (_a = interceptorOpts == null ? void 0 : interceptorOpts.dualStack) != null ? _a : true;
12328 let affinity;
12329 if (dualStack) {
12330 affinity = (_b = interceptorOpts == null ? void 0 : interceptorOpts.affinity) != null ? _b : null;
12331 } else {
12332 affinity = (_c = interceptorOpts == null ? void 0 : interceptorOpts.affinity) != null ? _c : 4;
12333 }
12334 const opts = {
12335 maxTTL: (_d = interceptorOpts == null ? void 0 : interceptorOpts.maxTTL) != null ? _d : 1e4,
12336 // Expressed in ms
12337 lookup: (_e = interceptorOpts == null ? void 0 : interceptorOpts.lookup) != null ? _e : null,
12338 pick: (_f = interceptorOpts == null ? void 0 : interceptorOpts.pick) != null ? _f : null,
12339 dualStack,

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected