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

Function getSocketInfo

github-actions/saucelabs/set-saucelabs-env.js:1461–1472  ·  view source on GitHub ↗
(socket)

Source from the content-addressed store, hash-verified

1459 return !!(body && stream.isReadable(body));
1460 }
1461 function getSocketInfo(socket) {
1462 return {
1463 localAddress: socket.localAddress,
1464 localPort: socket.localPort,
1465 remoteAddress: socket.remoteAddress,
1466 remotePort: socket.remotePort,
1467 remoteFamily: socket.remoteFamily,
1468 timeout: socket.timeout,
1469 bytesWritten: socket.bytesWritten,
1470 bytesRead: socket.bytesRead
1471 };
1472 }
1473 function ReadableStreamFrom(iterable) {
1474 let iterator;
1475 return new ReadableStream(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected