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

Function lowerCaseEntries

github-actions/browserstack/set-browserstack-env.js:10901–10907  ·  view source on GitHub ↗
(headers)

Source from the content-addressed store, hash-verified

10899 var ConnectHandler = class extends AsyncResource {
10900 constructor(opts, callback) {
10901 if (!opts || typeof opts !== "object") {
10902 throw new InvalidArgumentError("invalid opts");
10903 }
10904 if (typeof callback !== "function") {
10905 throw new InvalidArgumentError("invalid callback");
10906 }
10907 const { signal, opaque, responseHeaders } = opts;
10908 if (signal && typeof signal.on !== "function" && typeof signal.addEventListener !== "function") {
10909 throw new InvalidArgumentError("signal must be an EventEmitter or EventTarget");
10910 }

Callers 2

getHeaderByNameFunction · 0.70
matchHeadersFunction · 0.70

Calls 1

entriesMethod · 0.45

Tested by

no test coverage detected