Server.prototype.closeAllConnections - Node documentation
method Server.prototype.closeAllConnections

Usage

import { Server } from "node:http";

Closes all connections connected to this server.

Return Type

void