Skip to main content
AgentOptions.maxTotalSockets - http - Node documentation
property AgentOptions.maxTotalSockets

Usage in Deno

import { type AgentOptions } from "node:http";

Maximum number of sockets allowed for all hosts in total. Each request will use a new socket until the maximum is reached. Default: Infinity.

Type

number | undefined