MCPcopy
hub / github.com/hapijs/hapi / destroy

Method destroy

lib/core.js:440–447  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

438 // Set connections timeout
439
440 const destroy = () => {
441
442 for (const connection of this.sockets) {
443 connection.destroy();
444 }
445
446 this.sockets.clear();
447 };
448
449 timeoutId = setTimeout(destroy, timeout);
450

Callers 14

transmit.jsFile · 0.80
_createListenerMethod · 0.80
drainMethod · 0.80
payload.jsFile · 0.80
autoValueFunction · 0.80
_readMethod · 0.80
transmit.jsFile · 0.80
handlerFunction · 0.80
core.jsFile · 0.80
request.jsFile · 0.80
createConnectionFunction · 0.80
onPreHandlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected