Skip to main content
Server.prototype.closeAllConnections - http - Node documentation
method Server.prototype.closeAllConnections

Usage in Deno

import { Server } from "node:http";
Server.prototype.closeAllConnections(): void

Closes all connections connected to this server.

Return Type

void