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

Function parseKeepAliveTimeout

github-actions/saucelabs/set-saucelabs-env.js:1355–1358  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

1353 }
1354 var KEEPALIVE_TIMEOUT_EXPR = /timeout=(\d+)/;
1355 function parseKeepAliveTimeout(val) {
1356 const m = val.toString().match(KEEPALIVE_TIMEOUT_EXPR);
1357 return m ? parseInt(m[1], 10) * 1e3 : null;
1358 }
1359 function headerNameToString(value) {
1360 var _a, _b;
1361 return typeof value === "string" ? (_a = headerNameLowerCasedRecord[value]) != null ? _a : value.toLowerCase() : (_b = tree.lookup(value)) != null ? _b : value.toString("latin1").toLowerCase();

Callers

nothing calls this directly

Calls 2

matchMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected