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

Usage in Deno

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

Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity

Type

number | undefined