Skip to main content
Agent.prototype.freeSockets - http - Node documentation
property Agent.prototype.freeSockets

Usage in Deno

import { Agent } from "node:http";

An object which contains arrays of sockets currently awaiting use by the agent when keepAlive is enabled. Do not modify.

Sockets in the freeSockets list will be automatically destroyed and removed from the array on 'timeout'.

Type

ReadOnlyDict<Socket[]>