MCPcopy Index your code
hub / github.com/nodejs/node / connectOptions

Function connectOptions

test/parallel/test-tls-connect-abort-controller.js:19–24  ·  view source on GitHub ↗
(signal)

Source from the content-addressed store, hash-verified

17 const port = server.address().port;
18 const host = 'localhost';
19 const connectOptions = (signal) => ({
20 port,
21 host,
22 signal,
23 rejectUnauthorized: false,
24 });
25
26 function assertAbort(socket, testName) {
27 return assert.rejects(() => once(socket, 'close'), {

Callers 6

postAbortFunction · 0.85
preAbortFunction · 0.85
tickAbortFunction · 0.85
testConstructorFunction · 0.85
testConstructorPostFunction · 0.85
testConstructorPostTickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…