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

Usage in Deno

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

Closes all connections connected to this server which are not sending a request or waiting for a response.

Return Type

void